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

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
returns the executable .