[Pythonmac-SIG] AutoComplete in C++ Editor for Python

Christopher Barker Chris.Barker at noaa.gov
Mon May 4 18:33:00 CEST 2009


Don McGuire wrote:
>>> Is there a way to "compile" the python code and get access to the
>>> symbol table from that compiled block?
>>>
>>> Did anybody ever implement AutoComplete in a editor for Python?

You might want to try the pyXIDEs list -- this certainly isn't a 
Mac-specific question:

pyxides at googlegroups.com

An anycase, there are some open-source tools that do AutoComplete, I"d 
look for them and look at their code.

And you can compile to code to .pyc files without running it, and there 
are tools to examine the results. I've never done any of that, you might 
want to try comp.lang.python. In the meantime, check out these functions 
and modules:

compile()
compiler
code
codeop


HTH,

-Chris




-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the Pythonmac-SIG mailing list