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.
19 lines
259 B
19 lines
259 B
from flask import Flask
|
|
|
|
|
|
app = Flask(__name__)
|
|
|
|
@app.route('/')
|
|
|
|
def index():
|
|
return 'Ein erstes Hallo'
|
|
|
|
@app.route('/second')
|
|
|
|
def second():
|
|
return '<b>Ein zweites Hallo</b>'
|
|
|
|
if __name__ == '__main__':
|
|
app.run(host='0.0.0.0',port=8085, debug=True)
|
|
|
|
|
|
|