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:
count.py D-Man A little script that counts the number of lines, characters, words, and occurences of words in a file. I originally wrote it in perl for a class. Then I rewrote it in python to help answer someone else's question on the tutor list.
binomial1.py
binomial2.py
Gregor Lingl Ahh... accomplishment!ACM: Problem 530
PageDumper6000.py Rob Andrews If you want to view the source of a web page for which you know the URL, but don't want to wait for the page to load in a browser, this script will get you the source in a flash.
DSserver.py
DSclient.py
Deirdre Saoirse Here's a really simple client/server pair. The server opens up an unprivileged port (> 1023), in this case, 30242, on the server localhost (aka 127.0.0.1). It waits for a client, which, when connected, sends the phrase "foo." The server responds "bar." The client waits for the server. They repeat this two times, then the server closes the connection.
mmixviewer.py Danny Yoo It's a small MMIX/hex/character viewer. MMIX is an assembly language. mmixviewer.py is still incomplete, but it uses a lot of string and list manipulation, as well as some getopt stuff. Please share any comments.
RWskiplist.py Rob Whitehurst Skiplists are an alternative to balanced trees that give the same mean performance but with much less algorithmic complexity.
zippy.py
slotmachine.py
Rob Andrews Ahh... accomplishment!Zippy.py is Version 1.01 of a slot machine game I'm working on. Slotmachine.py was the first draft, hacked together the night before.
conemaker.py John (Johnno) Murray A math based script for calculating the layout dimensions of cone shaped fabrications.
countablerationals.py Danny Yoo It does some interesting math, which is explained better in the code than I could here.
circumference.py Rob Andrews Calculates circumference from a given radius.

XHTML! by Rob Andrews