def reload_neuropythy():
import sys, six<EOL>if not six.PY2:<EOL><INDENT>try:              from importlib import reload<EOL>except Exception: from imp import reload<EOL><DEDENT>for mdl in submodules:<EOL><INDENT>if mdl in sys.modules:<EOL><INDENT>sys.modules[mdl] = reload(sys.modules[mdl])<EOL><DEDENT><DEDENT>return reload(sys.modules['<STR_LIT>'])<EOL>
reload_neuropythy() reloads all of the modules of neuropythy and returns the reloaded
neuropythy module. This is similar to reload(neuropythy) except that it reloads all the
neuropythy submodules prior to reloading neuropythy.

Example:
  import neuropythy as ny
  # ... some nonsense that breaks the library ...
  ny = ny.reload_neuropythy()