I'm guessing that your problem is you are running your app outside of
the webware. There's probably no reason that you can't do this, the
problem that you are running into though is that webware will
automatically add certain things to your path that you need. In your
case you can do it manually by adding you webware installation path to
your PYTHONPATH environment variable or by doing it programatically at
the beginning of your app.
-Seth=20
=20
=20
>>> "Vytautas Bruzgis" <vytautasbruzgis@...> 05/08/05 9:22 am >>>=20
yes, i have found this way. But now i have another problem.=20
=20
"C:\Python24\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
line 310, in RunScript=20
=C2*=C2*=C2* exec codeObject in=20
=C2* File "D:\Webware-0.8.1\Videos\Middle\main.py", line 7, in ?=20
=C2*=C2*=C2* from Videos.Middle.Movie import Movie=20
ImportError: No module named Videos.Middle.Movie=20
=20
=20
i get this code when i run main.py with pythonedit. But i am sure, that
the=20
module exists. Any sugesstions?=20
=20
|