|
From: Kiran R K. <ki...@al...> - 2001-03-06 05:23:36
|
hi.. can you point out to me some examples of setting the namespace using the PythonInterpreter(Pydict ) constructor ? I cant seem to find any. Also, can you point out the mechanism by which jython, (when embedded and called from a java app) finds and loads its java classes ? I want some java classes to be loaded by default when jython starts up, rather than doing "import foo from bar" in the .py scripts. Is there an API to do this or do I have to rely on the $CLASSPATH variable which the java program reads on startup.In the event of the java program using another classloader to load its classes,$CLASSPATH wont do for me... any help would be appreciated... thanx p.s. thanx to brian zimmer for his previous reply :-) A fair exterior is a silent recommendation. -- Publilius Syrus |