A beginner's problem...

DogWalker forestiero at qwest.net
Wed Dec 15 19:52:11 EST 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)
>
>Ciao,
>	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 mailing list