What are the applications of python reload function?
3 answers
reload is useful for reloading code that can be changed in a Python module. This usually means a plugin system.
Take a look at this link:
http://www.codexon.com/posts/a-better-python-reload
It will tell you about the flaws of the reboot and a possible fix.
+6
a source to share
I am assuming that one application can test changes in a module interactively.
This is really the only remedy for this. From Python Documentation :
This is useful if you edited the source file of the module using an external editor and want to try the new version without leaving the Python interpreter.
+4
a source to share