[Tutor] problem with reload()

Magnus Lycka magnus@thinkware.se
Thu Jan 16 02:09:01 2003


At 22:41 2003-01-15 -0800, Tony Cappellini wrote:
>After importing a module initially,
>when I try to reload a module in Ipython, PythonWin, or Idle
>I always get the following error message- like reload() doesn't work

Is there perhaps code in the imported module that changes your
current directory? The fact that you did a os.chdir to show that
it's there suggests that. Doesn't reload work after you chdir back?


-- 
Magnus Lycka, Thinkware AB
Alvans vag 99, SE-907 50 UMEA, SWEDEN
phone: int+46 70 582 80 65, fax: int+46 70 612 80 65
http://www.thinkware.se/  mailto:magnus@thinkware.se