PYTHONPATH is ignored by win32all?

Max Ischenko max at ucmg.com.ua.remove.it
Mon Nov 3 06:16:28 EST 2003


Hi,

I'm writing a COM server in python which relies upon another python 
module whose location is in PYTHONPATH env. variable.

The problem is that I got ImportError for that module -- seems like 
win32all doesn't use PYTHONPATH. I currently added sys.path.append to my 
  COM server module but I don't like this hack.

Anyone knows how to solve this properly?





More information about the Python-list mailing list