[Tutor] about reload

linda.s samrobertsmith at gmail.com
Fri Dec 29 22:05:21 CET 2006


I read something about reload of modules.
#test.py
from ABC import M # M is an attribute of Module ABC

if I change module ABC, I need import ABC and reload ABC before "from
ABC import M" work. in IDLE, I just click F5 and run the code, it
works and does not need type anything like "Import ABC",
"Reload(ABC)". Why the book say the two steps are needed?
Thanks,
Linda


More information about the Tutor mailing list