parsing pyton code

Philippe C. Martin philippecmartin at sbcglobal.net
Mon Nov 8 00:17:49 CET 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