I have a long-running Python server and would like to be able to upgrade a service without restarting the server. What\'s the best way do do this?
if foo.py
if 'myModule' in sys.modules: del sys.modules["myModule"]