From: <bc...@wo...> - 2001-07-20 16:02:15
|
[Joern Eckhoff] >While working in a DOS-Box import works really fine. But writing a script >which imports the same pakages throws an exception. It sounds like a embedding problem. Try to check the value of sys.path at the beginning of your script. If you are doing the embedding take a look at this FAQ answer for how to set up a usefull python.path. http://www.jython.org/cgi-bin/faqw.py?req=show&file=faq06.002.htp Otherwise you can always add entries to sys.path from within your script. regards, finn |