title: How do I restart a python script with a command
body: <p>So, I've been having troubles with restarting a script within itself. I'm making a simple program and I want to have a choice for example:</p>
  
  <pre><code>print ('would you like to make another calculation')
  
  choice3 = input(' Choose: [Y], [N]')
  
  if choice3.lower() == 'y':
      print ('OK!')
      time.sleep(3)
  </code></pre>
  
  <p>and I want to have it restart right there. If anyone could help me out, thanks... I really appreciate it</p>