I know this thread is old but.. its was just what I needed. Thanks for being there. I incorporated your bits parts in my script along with a little extra flair. Here have a look. Thanks again.
Code:
#! /usr/bin/env python2.5
import os,sys
#print out months of the year
print "Please type in your birthdate by the year, month and day."
months = [
'Janurary',
'February',
Leave a comment: