Modules and Packages: reload
If you edit a module, you must use the reload command before the changes become visible in Python:
>>> import mymodule
>>> reload (mymodule)
The reload command only affects modules that have been loaded with import; it does not update individual functions and objects loaded with from...import.