Closed 0xh0n3y closed 5 years ago
That is not the code you are running (syntax errors and uninitialized variables)
You need quotes for '/hello' and 'localhost'. And then 'Hello World!' will be localhost/8080/hello
`from bottle import route, run
@route('/hello/') def index(): return 'Hello World'
run(host='localhost', port=8080, debug=True)`
from bottle import route, run @route(/hello) def hello(): return "Hello World!" run(host=localhost, port=8080, debug=True)