title: Close/terminate web browser using Python 3?
body: <p>I am trying to make a Python script that simply kicks me off of facebook after 10 minutes, any ideas on the best way to either terminate the browser or even better URL opened specifically? </p>
  
  <pre><code>#Stay on facebook for 10 minute session
  
  import time
  import webbrowser
  import sys
  
  webbrowser.open("http://www.facebook.com/")
  
  time.sleep(600)
  #terminate session here
  sys.exit()
  </code></pre>
  
  <p>Thanks for the help!</p>