parsing pyton code

Y2KYZFR1 jarrodhroberson at yahoo.com
Thu Nov 11 22:02:23 CET 2004


"Philippe C. Martin" <philippecmartin at sbcglobal.net> wrote in message news:<mailman.6094.1099869421.5135.python-list at python.org>...
> >>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  lov
> e  
> this language/environment.
> 
> 

not wasted just a learning experience so you can REALLY appreaciate
Python when you found it!
> 
> Philippe



More information about the Python-list mailing list