We present here the source code of selected examples from the book. Some sources have been slightly reorganized for better presentation as stand-alone programs.

`plot`

(plots the graph of a function), from Chapter 6.`allwords`

(iterates over all words of a file), from Section 7.1.permutation generator, from Section 9.3.

multithreading, from Section 9.4.

markov chain algorithm, from Section 10.2.

saving tables with cycles, from Section 12.1.

Set library, from Chapter 13.

`getfield`

&`setfield`

, from Section 14.1.the class

`Account`

, from Chapter 16.dumping a binary file, from Section 21.2.