Whoa! Almost never use bare "except:". This will catch a whole bunch of things you usually don't want to (like SystemExit). Most of the time you should catch specific exceptions, if you don't know what you want to catch then catch Exception.