Where should I put my HTMLgen directory?
Max Møller Rasmussen
maxm at normik.dk
Tue Jun 13 09:05:08 EDT 2000
I am trying to install HTMLGen on my machine.
My python is installed in:
C:\Program Files\Python\Lib\HTMLgen
I have unpacked HTMLGen into:
C:\Program Files\Python\Lib\HTMLgen
But when I try to run:
import HTMLgen
I get the traceback:
Traceback (innermost last):
File "<string>", line 1, in ?
File "C:\root\pythonScripts\HTMLgen\test.py", line 1, in ?
import HTMLgen
ImportError: No module named HTMLgen
So obviously I am doing something wrong. I thought that Python traversed the
Lib diretory recursively to find any modules. But no?
Should I put all the *.py* files in the root of Lib? That seems a bit messy
to me.
Kind regards
Max M
More information about the Python-list
mailing list