reloading ntpath reloading stat reloading genericpath reloading copyreg perhaps most commonlywe can also deploy this module at the interactive prompt-herein for some standard library modules notice how os is imported by tkinterbut tkinter reaches sys before os can (if you want to test this on python xsubstitute tkinter for tkinter)from reloadall import reload_all import ostkinter reload_all(osreloading os reloading ntpath reloading stat reloading sys reloading genericpath reloading errno reloading copyreg normal usage mode reload_all(tkinterreloading tkinter reloading _tkinter reloading warnings reloading sys reloading linecache reloading tokenize reloading builtins failedreloading re etc reloading os reloading ntpath reloading stat reloading genericpath reloading errno etc and finally here is session that shows the effect of normal versus transitive reloads-changes made to the two nested files are not picked up by reloadsunless the transitive utility is usedimport file py import file py file py :\codepy - import xa ya advanced module topics