Programming Methods - Algorithms



Refining an FTP Site List Download

Friday, June 20th, 2008

This script introduces a pair of functions for checking whether FTP sites are up. The refineFTPList() function will take in a list of FTP sites and returns a list of sites

Smiley Face Generator Download

Friday, June 20th, 2008

Smiley Face Generator script generates allmost all of the possible smiley faces in use on irc.
Download from:

Reptile Download

Thursday, June 19th, 2008

Reptile is a web server made in Python. It supports server side scripting with "Embedded Python", PHP, and CGI scripts.

It has an integrated HTML/XML val

Split string on capitalized/uppercase char Download

Wednesday, June 18th, 2008

This function accepts a string and returns a string with whitespace(one space) inserted between words with leading capitalized letters.

Cyphesis Download

Wednesday, June 18th, 2008

Cyphesis is a WorldForge server suitable running small games. It is also designed by be used as an AI subsystem in a network of distributed servers.

It includes a

Weakmethod Script Download

Tuesday, June 17th, 2008

This script introduces weakly-bound methods. You could use this decorator to create methods that weakly-reference their instance (im_self).

This means that th

Retrieving a line at random from a file Download

Monday, June 16th, 2008

This procedure reads through a file of unknown size once, returning a random line from the file.

Container Download

Saturday, June 14th, 2008

This script allows you to use a generic attribute container, with printing and recursion protection.

It could be very useful as a container for parsed dat

Constellation Finder Download

Friday, June 13th, 2008

The script demonstrates the use of SETs in Python. There is a key object that has constellations already identified and a stars object that contains the stars in the sky.

id3rename Download

Thursday, June 12th, 2008

id3rename script creates an ID3 tag by parsing the name of the file. It is really usefull when your ripper forgets to tag the file properly.

You specify the name l