High memory usage when using Python’s tarfile module
The Python tarfile module is a handy way to access files within tar archives without needing to unpack them first. You can iterate over files using the following pattern: Behind the scenes, each TarFile object maintains a list of members … Continue reading
Using logging to debug what suds is sending across the wire
suds, a SOAP client for Python, makes good use of Python’s logging module, which makes it easy to work out what it’s sending across the wire. I’d previously mentioned hacking suds to use an urllib2 handler with debugging enabled. Modifying … Continue reading
Exchange Web Services, suds, and Python
This post is out of date. Please see this new post about Exchange 2010. I’d quite like to be able to interact with the University’s Exchange 2007 instance (Nexus) programmatically using suds (a Python SOAP client) and Exchange Web Services … Continue reading