execfile() on file subclass or string

Brano Zarnovican zarnovican at pobox.sk
Thu Mar 24 10:05:46 EST 2005


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

Thanks for the tip!
Works great!

BranoZ




More information about the Python-list mailing list