how to re-import changed code?

Wolfgang.Stoecher at profactor.at Wolfgang.Stoecher at profactor.at
Fri Oct 15 18:47:36 EDT 2004


Hi,

another beginner's question:
when I import a module, change the corresponding textfile and try to 
import the same module again, it looks like the internal code does not 
change (the source-line in an error-message is up to date, however!). Also 
del module before import and deleting the .pyc file do not help! How to 
realize a fast edit-try-cycle? (btw: I am using python 2.2 under windows)

thanks in advance!

Wolfgang



More information about the Python-list mailing list