[PyCrust] problems with os
Brought to you by:
pobrien
From: Raul C. <co...@uc...> - 2001-09-07 20:59:45
|
why doesn't this code work??? >>> import os >>> os.chdir('d:\sim') >>> import SThermoAdmin Traceback (most recent call last): File "<input>", line 1, in ? ImportError: No module named SThermoAdmin Needless to say , that I tested the same lines in another interpreter and they work fine. Tried it with any file that is not in the python path and I get the same results. I'll try to find the reason myself since I'm going to be playing around with PyCrust today, because I'm planning on implementing it in my application (currently I'm using shell.py that comes in the wxPython distribution) BTW. Thanks for the icon... it looks really cool!!! Raul Win NT; Python 2.1; wxPython 2.3.1 |