title: Running Python scripts on local machine
body: <p>I am trying to run a simple hello world example in python that runs against mongodb. I've set up mongo, bottle and pymong and have the following script inside <code>C:\Python27\Scripts</code>:</p>
  
  <pre><code>import bottle
  import pymongo
  
  
  @bottle.route('/')
  def index()
      from pymongo import Connection
      connection = Connection('localhost', 27017)
  
      db = connection.test
  
      names = db.names
  
      item = names.find_one()
  
      return '&lt;b&gt;Hello %s!&lt;/b&gt;' % item['name']
  
  bottle.run(host='localhost', port=8082)
  
  -!-- hello.py   All L8  (Python)
  </code></pre>
  
  <p>I want to run this locally and I go to <code>http://localhost:8082</code> but I get not found not found. How can I run that code to test it locally on my computer so I can test the code via the browser. I am running Windows 7 and have WAMP installed.</p>