Jump to content
Nytro

Python for Fun

Recommended Posts

Python for Fun

Purpose of this Collection

This collection is a presentation of several small Python programs. They are aimed at intermediate programmers; people who have studied Python and are fairly comfortable with basic recursion and object oriented techniques. Each program is very short, never more than a couple of pages and accompanied with a write-up.

I have found Python to be an excellent language to express algorithms clearly. Some of the ideas here originated in other programs in other languages. But in most cases I developed code from scratch from just an outline of an idea. However "Lisp in Python" was almost a translation exercise from John McCarthy's original "Evalquote in Lisp".

From many years of programming these are some of my favorite programs. I hope you enjoy them as much as I do. I look forward to hearing from readers, especially folks with suggestions for improvements, ideas for new projects, or people who are doing similar things. You can email me at mailme.html

Many thanks to Paul Carduner and Jeff Elkner for their work on this page, especially for Paul's graphic of "Psyltherin" (apologies to Harry Potter) and to the Twisted developement team for their Lore documentation generator to which all the other web pages in this collection have been recently adapted.

Chris Meyers

The Collection
Items with a "*" have been recently added or updated

* A Simple Video Game
* Queues, Trees and Water Buckets
* Towers of Hanoi
* Animal Trees

* Building a GUI with Tkinter
* Using SQL with the GUI
* Building a GUI with wxPython

* Erlang for Python Programmers *
* Erlang Concurrency: Logic Circuits revisted *

* Forth in Python *
* Lisp in Python
* Prolog in Python (Introduction) *
* Prolog in Python (Part 1) *
* Prolog in Python (Part 2) *
* Prolog in Python (Part 3) *
* Squeezing Bits. Huffman Data Compression *
* Natural Language Processing
* Classic AI. Semantic Information Retrival
* Unicode support in Python

* Logic Circuits
* Logic Circuits (more)

* Simulator for Toy Computer
* Assembler for Toy Computer
* Compiler for Toy Computer

* Using SQL with Python

* Waves and Harmonics *

Online:

http://www.openbookproject.net/py4fun/

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...