Code for Swampy, a set of modules used in Think Python, first edition
Python Makefile
Switch branches/tags
Nothing to show
Clone or download
AllenDowney Merge pull request #6 from hargup/pip_py3
Fix installation for python 3
Latest commit c72cc85 May 24, 2018
Failed to load latest commit information.
python2 Updating Jun 17, 2016
python3 Updating Jun 17, 2016 Adding files for distutils. Jan 13, 2011
Makefile Catching up to version 2.1.5 Oct 28, 2015 Updating Jun 17, 2016 Fix pip installation for python 3 Sep 27, 2015


by Allen Downey

Swampy is a suite of Python programs that support the books Think Python and The Little Book of Semaphores.

It includes the following modules:

  • AmoebaWorld: a fun way for beginning programmers to practice writing Python expressions.

  • TurtleWorld: an implementation of turtle graphics used in Think Python (first edition)

  • TurmiteWorld: an implementation of Langton's ant.

  • Lumpy: a program that generates UML object and class diagrams from a Python program.

  • Sync: a thread simulator for use with The Little Book of Semaphores.

A description of the project and documentation is available at (