manu agarwal wrote:
> Hi All,

You should always create a meaningful subject line when you post to the
mailing list.  This one is not meaningful.


> I am new to the Python, i have written one code in python that read
> the data from the XML file and based on the input from the xml file it
> gives the output.
>
> Later i converted the Python script to .exe file to run on the
> multiple windows server.
>
> The Python file is running fine when i execute script.py from the
> machine where the python installed, but it gives an error when i ran
> the script.exe file on the machine. Below is the error :
>
> *AttributeError: module object has no attribute sax*

Can you show us your code?  You would see that if you did this:
    import xml
    xml.sax

but you would get that error just by running the script.

There are come cases where py2exe does not correctly guess all of the
modules it needs to include.  Sometimes, you have to give it a hint. 
But show us what you're doing, and we will advise.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to