Introspection when embedding Python

Hi

I've been using PyCharm for a couple months now, ditching Komodo. I'm wondering if there is a facility where I can instruct PyCharm to introspect an .exe file that is InitTab-ing modules exposed with Boost::Python?

To clarify:

My application is written in C++ and runs a python script that takes over the message loop. On initialization it runs a few PyInitTab method calls that export a bunch of modules into globals(). The modules are wrapped C++ objects.

Can PyCharm inspect exe's or is it limited to .py files?

Kk

Hg

1 comment

Hello Hogni,

There is no way for PyCharm to perform any introspection on .exe files. It

supports binary modules as well as .py files, but they need to be importable

from an externally running script.

I've been using PyCharm for a couple months now, ditching Komodo. I'm

wondering if there is a facility where I can instruct PyCharm to

introspect an .exe file that is InitTab-ing modules exposed with

Boost::Python?

To clarify:

My application is written in C++ and runs a python script that takes

over the message loop. On initialization it runs a few PyInitTab

method calls that export a bunch of modules into globals(). The

modules are wrapped C++ objects.

Can PyCharm inspect exe's or is it limited to .py files?

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0

Please sign in to leave a comment.