code: def restart(self):
          
          if self.verbose:
              print("Restarting {} {} ...".format(sys.executable, sys.argv))
          os.execl(sys.executable, *([sys.executable] + sys.argv))
docs: Restart application with same args as it was started.
          Does **not** return