XML-toolkit for Windows - binaries available?
Lars Marius Garshol
larsga at ifi.uio.no
Mon Jun 21 02:59:58 EDT 1999
* Lee Borkman
|
| Now I have to edit __init__.py to include sgmlop and pyexpat in the
| __all__ list, is that right? Now which __init__.py would that be?
| I assume it's C:\Program Files\Python\Lib\xml-0.5.1\__init__.py
I haven't done this, and I don't think you need to do it unless you
care what the result of
import xml
dir(xml)
is.
| But none of the demos will work. I keep getting:
| ImportError: No module named xml.sax
| or:
| ImportError: No module named pyversioncheck
|
|
| I guess I still don't understand where Python (and PythonWin) look for
| their modules, and I guess I don't understand quite a bit of other
| stuff.
It sounds like you haven't set your PYTHONPATH. This is an environment
variable with a list of ';'-separated directories, but you can also
set it in the registry under HKEY_LOCAL_MACHINE\Software\Python
Make sure you include C:\Program Files\Python\Lib\xml-0.5.1\ in that
list.
--Lars M.
More information about the Python-list
mailing list