[Pydev-code] Customize list of known global functions
Brought to you by:
fabioz
From: Andreas P. <an...@fr...> - 2012-10-22 13:55:17
|
Hi, I'm wondering wether its possible to somehow teach PyDev about global functions that are automatically available in the interpreter? I have an application which adds a few modules via the C API to a Python interpreter and imports all symbols from one of these modules into the global namespace. I can provide a predefinition file for all the modules and that works fine, but I haven't found a way to tell PyDev that there are additional functions in the global namespace. Is there a way to do this? I'm including PyDev in an Eclipse app, so having a way to do this via API would be fine for me. Andreas PS: That application using the python interpreter can unfortunately not be used as interpreter in PyDev since it does not allow running arbitrary python scripts at the moment. |