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! 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
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
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 This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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...
|
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
|
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')
|
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....
|
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
| |
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,
|
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?
|
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...
|
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
|
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...
|
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...
| |
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,...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |