Execute a list

Groleo Marius groleo at gmail.com
Tue Feb 22 03:12:49 EST 2005


Hi.
How can i execute a string in python?
For example if I have the variable s, defined below
s = '"print "hello"'
How can I execute the code that "s" keeps inside, considering that the
code is correct?



More information about the Python-list mailing list