code: def _get_args_for_reloading():
      
      rv = [sys.executable]
      py_script = sys.argv[0]
      if os.name == 'nt' and not os.path.exists(py_script) and \
         os.path.exists(py_script + '.exe'):
          py_script += '.exe'
      rv.append(py_script)
      rv.extend(sys.argv[1:])
      return rv
docs: Returns the executable. This contains a workaround for windows
      if the executable is incorrectly reported to not have the .exe
      extension which can cause bugs on reloading.