title: How to shut down python server
body: <p>Used this code to run a python server:</p>
  
  <pre><code>import os
  from http.server import SimpleHTTPRequestHandler, HTTPServer                                                                                                                                   
  
  os.chdir('c:/users/owner/desktop/tom/tomsEnyo2.5-May27')                                                                                                                                                                                      
  server_address = ('', 8000)                                                                                                                                                                    
  httpd = HTTPServer(server_address, SimpleHTTPRequestHandler)                                                                                                                                   
  httpd.serve_forever()
  </code></pre>
  
  <p>How to make it stop?</p>