Replaced time module with my own on accident - help

Sean Berry sean at
Wed Oct 20 20:49:58 CEST 2004

I was writing a little script to test different functions of the time 
module.  Like an idiot, I named the test script

Then when I tried to do a "import time" call, I got an error.

So, my has overwritten the builtin mod.

I have python 2.3 installed on a few different servers, so I was going to 
copy over the .py file in /usr/local/lib/python2.3, but I could not find 
one... not even on the servers where I didn't screw this up.

$ find . -name "time*"

Where is the original kept?  And is there an easier way to get it 

Thanks and sorry about my ignorance.

More information about the Python-list mailing list