hot update python code install reloadr https://github.com/hoh/reloadr run main.py modify code at mypkg.py, no need to stop main.py the updated code will be auto reloaded at main.py