473,608 Members | 2,412 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

pyxml package not working? No xml.dom.ext.rea der module available after install.

I've tried to install the pyxml-package, available at http://pyxml.sourceforge.net/,
both from source and using some hack on the win32-binary package
available for python2.4, but without luck. After install the module
xml.dom.ext.rea der is not available, eventhough the folder, __init__py
and everything is in place.

Why? And could someone please make a win32-binary package of pyxml for
python2.5? Thanks!

Oct 10 '07 #1
3 4019
Thomas W wrote:
I've tried to install the pyxml-package, available at http://pyxml.sourceforge.net/,
both from source and using some hack on the win32-binary package
available for python2.4, but without luck. After install the module
xml.dom.ext.rea der is not available, eventhough the folder, __init__py
and everything is in place.

Why? And could someone please make a win32-binary package of pyxml for
python2.5? Thanks!
PyXML has not been actively maintained for some years now. Use ElementTree or
lxml instead.

http://codespeak.net/lxml

Stefan
Oct 10 '07 #2
On 10 Okt, 11:13, Stefan Behnel <stefan.behne l-n05...@web.dewr ote:
Thomas W wrote:
I've tried to install the pyxml-package, available athttp://pyxml.sourcefor ge.net/,
both from source and using some hack on the win32-binary package
available for python2.4, but without luck. After install the module
xml.dom.ext.rea der is not available, eventhough the folder, __init__py
and everything is in place.
Why? And could someone please make a win32-binary package of pyxml for
python2.5? Thanks!

PyXML has not been actively maintained for some years now. Use ElementTree or
lxml instead.

http://codespeak.net/lxml

Stefan
But the problem is that I'm using some piece of code that needs pyxml.
Wouldn't be a problem if I was developing this project myself.

Thomas

Oct 10 '07 #3
Thomas W wrote:
On 10 Okt, 11:13, Stefan Behnel <stefan.behne l-n05...@web.dewr ote:
>Thomas W wrote:
>>I've tried to install the pyxml-package, available athttp://pyxml.sourcefor ge.net/,
both from source and using some hack on the win32-binary package
available for python2.4, but without luck. After install the module
xml.dom.ext.r eader is not available, eventhough the folder, __init__py
and everything is in place.
Why? And could someone please make a win32-binary package of pyxml for
python2.5? Thanks!
PyXML has not been actively maintained for some years now. Use ElementTree or
lxml instead.

http://codespeak.net/lxml

Stefan

But the problem is that I'm using some piece of code that needs pyxml.
Wouldn't be a problem if I was developing this project myself.
Ah, ok. I was just suggesting that you'd be very lucky if someone came up with
a fresh build or something...

Stefan
Oct 10 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2057
by: Matt Shomphe | last post by:
Are there any guidelines for packaging a pure python module? Specifically, say I have a set of 10 functions, all of varying behaviors (no unifying theme to bind them together into clear subsets), that I would like to make available to others. What is the best structure for the distributed module? A single file called "functions.py" that people can put in "site-packages"? A subdirectory called "MyFunctions" with an "__init__.py" and the...
1
1770
by: Mark Hahn | last post by:
I am trying to parse HTML for the first time. I first installed 4Suite-1.0a3.win32-py2.3.exe and then realized I didn't need it. Then I installed PyXML-0.8.3.win32-py2.3.exe. Now when I try to execute this as the first line of my module ... from xml.dom.ext.reader import Sax2 .... I get this Exception ... Sequence index out of range: list index out of range
2
3521
by: David Dorward | last post by:
I'm attempting to read an XHTML 1.1 file, perform some DOM manipulation, then write the results to a different file. I've found myself rather stuck at the first hurdle. I have the following: from xml.dom.ext.reader import Sax2 reader = Sax2.Reader() f = open('dorward.me.uk/sitemap.html', 'r')
2
1683
by: Skip Montanaro | last post by:
At work we have a package structure for our homegrown code. Developers each have their own sandboxes where they work on the stuff they are responsible for (mixtures of C++ libraries, SWIG wrappers and pure Python packages). We're running into a problem where we have two versions of the main package, one in the developer's sandbox that contains just the developer's bits and one in the central location which contains all the installed stuff....
1
1877
by: Dan | last post by:
I'm writing a Python program that does some XML parsing, though nothing heavy, and I want to avoid requiring the user to install additional libraries like PyXML. The documentation for my version of Python (2.3.5) mentions PyXML as an additional library while discussing the DOM module <http://www.python.org/doc/2.3.5/lib/module-xml.dom.html>. I don't seem to have PyXML installed on my system, but: >>> import xml.dom.minidom
5
2124
by: Matthias Kaeppler | last post by:
Hi, I have to say I am confused about the documentation on pyxml.sf.net. When I want to use DOM, I effectively am using a class called Sax2? ^^ I also have to catch SAXExceptions, which reside in xml.sax._exceptions. I thought DOM and SAX are two completely different things. Why is PyXML mixing them up like this? Thanks,
9
3753
by: Jack | last post by:
Installing a Python package is easy, most of time just "Setup.py install" However, setup.py doesn't seem to support an uninstall command. If I want to delete a package that I do not use any more, should I just manually delete the corresponding sub directory under Lib\site-packages?
5
1534
by: Stuart D. Gathman | last post by:
The pyspf package http://cheeseshop.python.org/pypi/pyspf/] can use either pydns, or dnspython. The pyspf module has a simple driver function, DNSLookup(), that defaults to the pydns version. It can be assigned to a dnspython version, or to a test driver for in memory DNS. Or you can modify the source to "from drivermodule import DNSLookup". What is the friendliest way to make this configurable? Currently, users are modifying the...
2
2389
by: Robert Dailey | last post by:
Hi, I downloaded the PyXML library and I'm attempting to install it by following the README file on Windows XP. I currently have Visual Studio 2005 installed. C:\PyXML-0.8.4>python setup.py build running build running build_py
0
8067
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8483
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8157
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6820
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6015
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4030
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2477
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1607
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1336
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.