xfl - a Python module to create and compare file lists in XML
xfl is a simple Python module to store and compare lists of files and complete directory trees in XML. It uses the ElementTree module to provide a pythonic interface to XML. ...
xfl is a simple Python module to store and compare lists of files and complete directory trees in XML. It uses the ElementTree module to provide a pythonic interface to XML. ...
In order to improve lxml for C14N, I had to recompile my patched version. I followed the build instructions on the lxml website but I came across a few issues. Here are a few tips to save some time. ...
XML Canonicalization (C14N) is useful in some cases such as digital signature. lxml provides a very easy way to do it in Python. However, the current version lxml 2.1 does not give access to all C14N parameters. Here is a simple patch to improve its C14N support. ...
ElementTree is a "pythonic" XML parser interface developed by Fredrik Lundh which is included in the Python standard library since version 2.5. It provides a very simple and intuitive API to process XML (well, much simpler and more intuitive than usual parsers). lxml is a more efficient parser with a compatible interface. Here are some useful tips to use ElementTree and lxml. ...
A very useful recipe to display standard Windows file icons in wxPython: http://ginstrom.com/scribbles/2007/08/31/file-list-with-icons-on-wxpython-windows/ Inspired from this message: http://mail.python.org/pipermail/python-win32/2005-March/003071.html Does anyone know how to do the same on Linux and MacOSX ?
If no proxy is explicitly specified, urllib2 will use Internet Explorer proxy settings by default. The issue is that urllib2 does not take into account the list of addresses which should be reached directly without a proxy, e.g. localhost or the local LAN. In some situations, this means that only external addresses can be reached. It is possible to force urllib2 not to use any proxy, but this is not explained in the official Python documentation. ...
Here are several solutions to run unit tests in Python. ...
Collection of various websites with useful information about Python, recipes, tips and tricks. ...