Jython: exec a string
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.python archive

Jython: exec a string

From: abcd <codecraig@gmail.com>
Date: Fri Apr 21 2006 - 22:20:54 CEST

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?
Received on Sun Apr 30 23:54:55 2006