Source Code Getting Started Python Challenge Programming Contests Useless Python Images What is Python? Useless Python Supporters Python Tutorials Source Code Links Miscellaneous Links Mississippi Python Interest Group (MS PIGgie) Contact Us

Useless Source Code Pages: Page One Page Two Page Three Page Four Page Five Page Six Page Seven Page Eight Page Nine Page Ten Page Eleven Page Twelve Page Thirteen Page Fourteen Page Fifteen Page Sixteen

Miscellaneous Source Code
Source File or URL: Submitted By: Description:
maze.py Tim Lavoie Simple ASCII maze generator, using Prim's algorithm.
nntplist.py
nnsearch.py
Tim Lavoie nntplist connects to a news server, gets a list of newsgroups, and dumps it into a pickled format. nnsearch.py loads the pickled file, so that you can find newsgroups containing a word that you type.
dllist.py Bruce Sass This code is useless because it can be better done with Python lists.
permute.py Girish Gajwani Permutations of a list
dijkstra_sp.py Girish Gajwani Dijkstra's algorithm for shortest path
Userfriendly.py Koen Bossers shows todays picture of userfriendly.org or achives the picture
quiz.py Greg Lindstrom Ahh... accomplishment!UNSW: Quiz Generator
jpetkau1.py Jeff Petkau Given a regular expression, it spits out random strings that match the expression.
kirburner1.py Kirby Urner Here's a version of the Extended Euclidean Algorithm, with related inverse and Chinese Remainder Theorem functions. Very old hat stuff in CS, but that's why important. Note I use the new //, which is available in 2.2a2 w/o import from __future__.
three_n_plus_one.py David L. Lerner A peculiar math trick, adapted from _Metamagical Themas_ by Douglas R. Hochstadter.

XHTML! by Rob Andrews