title: How to make python close a website
body: <p>So, with python i've seen that you can open a website using the code </p>
  
  <pre><code>import webbrowser
  webbrowser.open("http://www.example.com", new=2)
  </code></pre>
  
  <p>but i really want to know how you could close the same specific tab using python.
  If you can help please do. Thank you.</p>