[python-win32] Python Newbie Question

Heang Lim heang.s.lim at gmail.com
Thu Feb 23 01:53:00 CET 2006


I've installed Python on my c:\python23 directory and Apache on my
c:\Apache2 directory.  On my DOS windows, I went to c:\Apache\htdocs
directory and enter 'python' to go into the interactive mode.  When I
tried to import some modules such as 'import os' or 'import string', I
was getting 'ImportError: no module named os', etc.  Am I missing some
sort of environment variable setting somewhere?   I have my PYTHONPATH
system variable set to 'c:\python23'.

Any help would be appreciated.

HL


More information about the Python-win32 mailing list