Thursday, January 29, 2009

Python cheat sheet

If you are learning a programming language it's often useful to have a cheat sheet with a concise list of key information. You can find many on the Web for Python, but I think that the Python Refcard done by Michael Goerz is one of the best.
'It contains: variable types (numbers, sequences, sets, strings and regular expressions), basic syntax, object orientation and modules, exception handling, system interaction, input/output, standard library"
It is intended to be printed on one piece of paper (double sided) and is formatted for A4, but Adobe manages to shrink it to print on letter size paper and the source is available in ODT, if you want to fiddle with it.

We might consider creating one or more one-page cheat sheets for use in CMSC 201 next Fall.

No comments: