Python Tricks

This group of pages do not really describe a programming project, but is a convenient place to record various Python tricks I've learnt. I hope they might also prove useful to other people.

I've called these code snippets tricks, but they are really just handy Python features used in simple, but effective ways. They are methods that since learning, I have used frequently and feel have improved the way I code.

There is a good list of so-called "hidden features" in Python on Stack Overload: