You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
259 B
20 lines
259 B
1 year ago
|
from flask import Flask
|
||
|
|
||
|
|
||
|
app = Flask(__name__)
|
||
|
|
||
|
@app.route('/')
|
||
|
|
||
|
def index():
|
||
|
return 'Ein erstes Hallo'
|
||
|
|
||
1 year ago
|
@app.route('/second')
|
||
|
|
||
|
def second():
|
||
|
return '<b>Ein zweites Hallo</b>'
|
||
|
|
||
1 year ago
|
if __name__ == '__main__':
|
||
|
app.run(host='0.0.0.0',port=8085, debug=True)
|
||
|
|
||
|
|