Sax installed, but not working

thomas at cintra.no thomas at cintra.no
Sat Apr 22 13:36:20 EDT 2000


On 20 Apr 2000 17:30:36 -0400, akuchlin at mems-exchange.org (Andrew M.
Kuchling) wrote:

>thomas at cintra.no writes:
>> from xml.sax import *
>> 
>> it fails and says there`s no module called sax. All the demo-scripts
>> and tutorials I`ve tried fails too.
>
>Check that xml/__init__.py and xml/sax/__init__.py exist.  (They might
>be of length 0, which is OK.)  Does 'import xml' work?
>
>-- 
>A.M. Kuchling			http://starship.python.net/crew/amk/
>I wrote my name, but I can find it no longer; my ashes blow like dust around
>the invisible labyrinth.
>  -- Zatara, in BOOKS OF MAGIC #1
>
>

Hi,

__ini__.py in both folders. 

other stuff seem to work, like xml.dom etc. but not xml.sax. Hm ...
can`t see anything wrong.

Ex. 'from xml.sax import saxlib' will fail.

Anything else I can check?

Thomas





More information about the Python-list mailing list