From: David D. <dav...@ep...> - 2001-08-09 22:11:56
|
I would like to be able to import a Python module but not from a file. For example, I may want to store Python source in an RDBMS and import it without the file system being involved. From Java I would do this with by writing a classloader as part of my application. How can I do this with Jython? I realize that I could probably subclass PackageManager and roll my own. Is there a better way? Has anyone already solved this problem? thanks, David |