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:
banner.py Lloyd Hugh Allen This script uses Tkinter to draw an American flag in its own window. Uses nested for loops for star locations, and trigonometry to draw the actual stars. Project for July 5th, 2001, Center for Math, Sci and Tech at University of Maryland Eastern Shore. It would be really, really cool if they would morph into each other (perhaps animated stars moving from present location to future location) rather than simply blinking from one to the next. This is beyond my current capability.
fibo.py Paul Winkler recursive and non-recursive fibonacci functions. The non-recursive versions are drastically faster, especially when calculating a really long sequence.
problem100.py Remco Gerlich Ahh... accomplishment!ACM: Problem 100
handle.py Jörg Wölke I wrote this to get used to the getopt module. In fact it's a silly idea. You know the 31337 and k3wl handles/nicks of SkriptKiddies/their groups at koeln.ccc.de:23 and koeln.ccc.de:31337 listens a server which, when you telnet to it gives you a new handle (coloured). This script connects to the host and stores these handles in a file. File format is either HTML, raw text (with escapes of the colours), or text.
obfusabj.py Sanjib Chaki Obfuscated Python! And they said it couldn't be done.... Can you obfuscate worse? C'mon... You know you want to.
dupe_0.1.py Martin Stevens a.k.a. Budgester Ahh... accomplishment!A basic webpage diary entry updater. (In active development)
Miscellaneous Python Stuff Danny Yoo Some Python scripts from his home page, including a Secret Decoder Ring!
Dynamic.txt Timothy Machuga Here's some REAL simple code that uses recursion and dynamic programming to compute fibonacci numbers, starting at index 0.
eightqueens.py Alankar Misra The problem is to place 8 queens on a chess board such that no queen can attack another. This code finds one solution.
ListShelf.py Andrew Wilkins It is similar to the shelve module, only it doesn't use a database, it uses standard files with cPickle.

XHTML! by Rob Andrews