server.py 231 B

123456789101112
  1. from bottle import route, run,template
  2. @route('/')
  3. def root():
  4. return template('map_template', item="prova bind")
  5. @route('/<item>')
  6. def myName(item):
  7. return template('map_template', item=item)
  8. run(host='localhost', port=9093)