code: def do_over():
      '''Calls :py:func:`os.exec` with executable and args derived from sys.'''
      path = sys.executable
      args = [path] + sys.argv
  
      # And the rest, after a sudden wet thud, was silence.
      os.execv(path, argsf do_over():
      '''Calls :py:func:`os.exec` with executable and args derived from sys.'''
      path = sys.executable
      args = [path] + sys.argv
  
      # And the rest, after a sudden wet thud, was silence.
      os.execv(path, args)
docs: Calls :py:func:`os.exec` with executable and args derived from sys.