mercredi 30 décembre 2015

Python Bottle website visible over network?

Is there a way to make my website accessible over the network that I'm connected to?

from bottle import route, run, template

@route('/hello/<name>')
def index(name):
    return template('<b>Hello {{name}}</b>!', name=name)

run(host='localhost', port=8080)




Aucun commentaire:

Enregistrer un commentaire