run a string as code?

py_genetic conor.robinson at gmail.com
Mon Jul 17 19:04:14 EDT 2006


How can you make python interpret a string (of py code) as code.  For
example if you want a py program to modify itself as it runs.  I know
this is an advantage of interpreted languages, how is this done in
python.  Thanks.




More information about the Python-list mailing list