2022-2023/1NSI/05_Interaction_client-serveur/scripts/bottle_base.py

8 lines
129 B
Python
Raw Normal View History

from bottle import get, run
@get('/hello')
def hello():
return "Hello World!"
run(host='localhost', port=8080, debug=True)