A beginner's problem...
forestiero at qwest.net
Thu Dec 16 01:52:11 CET 2004
"Marc 'BlackJack' Rintsch" <bj_666 at gmx.net> said:
>In <cpq6ov$q2s$1 at news.iucc.ac.il>, Amir Dekel wrote:
>> When I import a module I have wrote, and then I find bugs, it seems that
>> I can't import it again after a fix it. It always shows the same
>> problem. I try del module but it doesn't work.
>> (I use Python 2.4 with the ActivePython pack (PythonWin IDE)
>> Solution anyone?
>Yes -> help(reload)
> Marc 'BlackJack' Rintsch
First, save the file using the check option (Ctl+Shift+C, iirc);
Second, Fix any errors (attend to Status Bar);
Third, press Reload button in Toolbar (or type command from File Menu).
Four, assure that Status Bar indicates reload was successful.
If still doesn't load correctly, quit PythonWin and start it again.
More information about the Python-list