Go to our new and improved site

My Bookmarks Pictures Our Résumés SMC Problems Python Scripts Calendar Let's Mango Asteroids Game


06/05/2002 Medusa: A Python web server
What can Python do for Me, you ask? Well, This entire web site is run by a modified version of Medusa, a Python web server. Medusa is a wonderful program that uses a special select call from modern operating systems to do its work. It gives you many of the useful aspects of thread programming without acutally using threads. For a complete explination, read the description from the original author. So, what's so different with my version? Well, the text at the top of this page was generated simply by embedding the following in the html:
<pye>print open("nav_menu.txt").read()<pye>
Take a look at nav_menu.txt* notice how this file also has embedded python!
*Some browsers (Internet Explorer) require you to download this file and read it with a text browser (Wordpad)

The script that does all the hard work is pyehtml_parser.py and it is used by a modified version of Medusa's code:
script_handler.py
default_handler.py

Please read the license included with Medusa.

05/07/2002 smc_sucks.py
Do you happen to own a SMC AWBR7004 router Model #750.5435? Does it need to be reset every few hours, or lockup after transfering large files? If so, this script will try and reset the router whenever it is run. I set it up as a cron job. I suppose windows users could use the task scheduler...
I no longer own this router (thank god!) I now have a wonderful Linksys BEFW11S4 V2. Want to know why?

02/14/2002 google_image.py
Google
It will download the image on Google's main page, create a thumbnail, and save it to your /images directory. You *must* install Python Imaging Library (PIL) to use this script.

04/27/2001 counter.py
You can download my python counter script. It is the program that generated the counter at the top of this web page (sort of; I now use MySQL as a backend, instead of simple text files). It was written completely with python 2.0 for windows. You can also choose any of the counter images that I have found elsewhere on the web. You *must* install Python Imaging Library (PIL) to use this script. The program can use either horizontal or vertical images.

10/08/2000 calendar.py
Although this is one of my earlier python programs, I still like it. Hopefully I will one day update it with holidays and programmable events (probably using MySQL as a backend). I decided to add it to my downloads page so that others could learn (or teach me) something.