Python
—
filed under:
Python
In which we celebrate the world's greatest programming language, and bewail the modules and applications that are built with it.
-
When Python asserts don't
- Bewildered why error conditions are breezing right past the 'assert' statements you sprinkled through your Python script? Maybe you made the same basic mistake I did ...
-
Can't use print
- Who would of thunk it? 'print' is a reserved word everywhere.
-
Installing and using PIL
- Overcoming the sometimes tricky installation of the Python Imaging Library and improving image quality.
-
Installing MySQLdb
- When unresolved linker symbols attack.
-
Matplotlib
- Notes on installing and using.
-
Slots
- A new, and poorly explained, feature of Python classes.
-
SQLAlchemy merge and relations
- In which an oddity in SQLAlchemy is spotted, and it turns out to be a bug not a misunderstanding.
-
Surprises
- In which Python does several unexpected but logical things.
-
The etree tail quirk
- How to make a good XML solution for Python better.
-
Unicode and HTML entities
- In which we struggle with a cacophony of characters for the web.
-
Using percent in a string
- A (perhaps) obscure fact - how to use the percent sign in a Python string.
-
When tests don't
- A quirk in the nose testing tool that hides test cases.
-
Project Euler
-
Adventures in Plone (and Zope)
- Where "adventures" is qualified by "harrowing" and "preposterous".
-
rst2beamer
- A restructured text based tool for preparing presentations.
-
rst2beamer.py
-
Applescript via Python
- Controlling Mac applications with appscript
-
Advanced Python NB
-
Converting Ordnance Survey coordinates
- In which OS positions are transformed into something saner and less UK-centric.
-
osgb.py
-
Encoding types in etree
- Setting encoding in the header of ElementTree generated XML.

