Python still remembers script after change and save

Chris Liechti cliechti at
Mon Oct 29 19:44:07 CET 2001

"Paul Brian" <paul1brian at> wrote in
news:1004382387.8324.0.nnrp-07.c1c3e128 at 
> I occasionally come across a situation where I have changed a file,
> rerun the file in python but python still produces an error, quoting
> the original file in the error string

you're looking for the "reload" command

1. for the first usage type:
    	import mymod

2. usage after modifications on mymod, type:


Chris <cliechti at>

More information about the Python-list mailing list