Python Restart Program, Restarting a Python program based on user input can be achieved in several ways.