PyAlaMode - PyCrust inconsistency

Dan Cherry dscherry at bellsouth.net
Fri Sep 1 17:20:33 PDT 2006


When using PyCrust, I'm able to use the shell to import my program 
modules by first importing os, then issuing an os.chdir('/folder/folder/')
and following that with import mymodule.  Works fine.  It also works in 
PyShell.

But when using the PyAlaMode shell, the exact same steps give an Import 
Error: No module named mymodule.

I'm running Ubuntu 6.06 with
Py 0.9.5
Python 2.4.3 (#2, Apr 27 2006, 14:43:58)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
wxPython 2.6.3.3

I'm _not_ using PyWrap to initiate PyCrust, so I wouldn't think there'd 
be any different wrapper code involved.

Any thoughts on why the same Py shell module would behave differently 
when running in PyAlaMode?  Or how I can fix it?

Thanks,

-- 
Dan Cherry
dscherry (@) bellsouth.net

Finding a solution to a problem doesn't solve the problem...
Implementing the solution solves the problem.




More information about the wxpython-users mailing list