harold fellermann wrote:
>  >>> s="print 'hello Xah Lee :-)'"
>  >>> exec(s)
> hello Xah Lee :-)

Note that because "exec" is a statement, the parentheses above are 
superfluous.
--
Benji York
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to