init
This commit is contained in:
10
bottle_tut.py
Normal file
10
bottle_tut.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from bottle import route, run
|
||||
|
||||
@route('/hello')
|
||||
def hello():
|
||||
return "Hello World!"
|
||||
|
||||
if __name__ == '__main__':
|
||||
print(dir())
|
||||
run(host='localhost', port=8080, debug=True)
|
||||
|
||||
Reference in New Issue
Block a user