XML-toolkit for Windows - binaries available?
Lee Borkman
borkman at usa.net
Sun Jun 20 22:51:07 EDT 1999
Thanks very much, but I'm afraid I'm still unsure.
I have copied pyexpat.dll and sgmlop.dll to the DLLs directory
I have modified the PythonPath to include:
C:\Program Files\Python\Lib\xml-0.5.1
and:
C:\Program Files\Python\Lib\xml-0.5.1\expat\bin
(this is where xmlparse.dll lives)
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
Okay, I've done that.
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.
Thanks very much for all of your help. I've obviously got a bit more
homework to do before I proceed.
Leeb.
On Thu, 17 Jun 1999 17:43:22 GMT, digitome at iol.ie (Sean Mc Grath)
wrote:
>On 16 Jun 1999 23:05:38 +0200, Lars Marius Garshol <larsga at ifi.uio.no>
>wrote:
>
>>
>>* Sean Mc Grath
>>|
>>| The binaries are there but a bit of fiddling is required to get
>>| things working. (This is from memory but here goes)
>>|
>>| The pyexpat and sgmlop dlls have to be copied into the xml/parsers
>>| subdirectory. You also need to edit the __init__.py file to include
>>| 'pyexpat' and 'sgmlop' in the __all__ string.
>>
>>Heh. I didn't know you could do this! :)
>>
>>I just put them in the python/dlls directory, and that worked for me.
>>
>Lars, is quite right. python/dlls is a better place to put them than
>xml/parsers.
>
>Sean
>
>
>
More information about the Python-list
mailing list