Programming techniques

Some Python programming techniques: