User : mark nenadov

Title User Language Tags Description Date
Bare Bones Password Generator Mark Nenadov python

A password generator that will generate random length alpha-numeric passwords given a range to work with.

May 12, 2002
Anagram Fetcher Mark Nenadov python

Code for fetching Anagrams out of any given file that contains words seperated by new lines.

March 14, 2002
Refining an FTP Site List Mark Nenadov python

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 that are not down. The isFTPSiteUp() function checks a particular FTP site to see if it is up.

February 22, 2002
CookieInfo Mark Nenadov python

The "CookieInfo" and "Cookie" classes provide developers with an read-only interface to the "cookies.txt" that most browsers store. The CookieInfo class makes Cookie objects from the cookie file. It also provides methods to operate on the whole set of Cookies. The Cookie object provides methods to convert a cookie into both XML and SQL.

July 31, 2001
Apache Client Cache-rate Calculator Mark Nenadov python

A function to calculate the percent of requests that were "refused" by Apache server due to the clients ability to read the file from their cache instead.

July 27, 2001
StringValidator Mark Nenadov python

A portable class to carry out all sorts of validation on strings. It uses regular expressions to carry out common validation procedures.

July 27, 2001
Calculating Apache hits per IP Mark Nenadov python

This function returns a dictionary containing the hit counts for each individual IP that has accessed your Apache web server.

June 19, 2001
Using a wxPython "Notebook" with panels Mark Nenadov python

wxPython provides a powerul functionality that allows you to use a "Notebook" user interface with multiple panels - whose interface each is determined by individual Python scripts. Each panel runs in the background (even when it is not selected), and maintains the state it is in as the user switches back and forth.

June 19, 2001
Parsing an XML file with xml.parsers.expat Mark Nenadov python

This is a reusable way to use "xml.parsers.expat" to parse an XML file. When re-using the "MyXML" class, all you need to define a new class, with "MyXML" as the parent. Once you have done that, all you have to do is overwrite the inherited XML handlers and you are ready to go.

June 19, 2001
Using the MySQLdb interface Mark Nenadov python

A simple example showing how to use the MySQLdb interface to function with your MySQL database.

June 19, 2001
Unroll a single-dimension sequence into an HTML unordered list Mark Nenadov python

This function simply takes a single-dimension sequence and converts into into an HTML unordered list. This function makes it simple to present the contents of a sequence on the web in an neat fashion.

June 19, 2001