parsing pyton code

Philippe C. Martin philippecmartin at sbcglobal.net
Sun Nov 7 18:17:49 EST 2004


 
>>Check the source of the 'code' module, especially the runsource()
>>method of the InteractiveInterpreter class.  Also, see these docs

>><http://docs.python.org/lib/module-code.html>


>>/Jean Brouwers
>>ProphICy Semiconductor, Inc.



code.InteractiveInterpreter.compile() did the trick - thank you


PS: 17 years of C/C++, 3 months of Python .... 17 years wasted ? boy I _love_ 
this language/environment.



Philippe



More information about the Python-list mailing list