forces new code to load/run
#//File: changer.py message = "First version" def printer(): print message #//////////////////////////////////////////////////////////////////////////////// #//File: Main.py import changer changer.printer() import changer changer.printer() # no effect: uses loaded module reload(changer) # forces new code to load/run changer.printer() # runs the new version now