execfile() on file subclass or string

Brano Zarnovican zarnovican at pobox.sk
Thu Mar 24 16:05:46 CET 2005


> exec compile("code", "filename", "exec")

Thanks for the tip!
Works great!

BranoZ




More information about the Python-list mailing list