Jython: exec a string

abcd codecraig at gmail.com
Fri Apr 21 16:20:54 EDT 2006


I have a single jython file, foo.py which contains multiple classes.  I
read that into a string and try to exec it....but I get errors saying
something like unable to load class.  It seems to work fine if foo.py
only contains a single class, any ideas?




More information about the Python-list mailing list