Code examples from my Apress book: Foundations of Python Network Programming, Second Edition
The match_hostname() function from the Python 3.2 ssl Standard Library package.
The DRY Python packaging tool
A Python namespace package, beneath which people can place distributions that backport Python features to earlier versions
Python package for introspecting objects safely, without inadvertently running any of their code.
Python code for interacting with the Google Chrome debugging port (activated by starting Chrome with the --remote-shell-port option).
The slides and code for my PyCon 2010 talk “The Mighty Dictionary”.
Routines to fix Python's broken __name__ == '__main__' behavior
The example modules and documentation that were used in my Sphinx tutorial, for people viewing the recording.
Python module that scans a GnuCash transaction register and tallies up where cash has been coming from and where it has been going.