This repository has been archived on 2021-12-30. You can view files and clone it, but cannot push or open issues or pull requests.
ELOStar/app.py

21 lines
378 B
Python
Raw Normal View History

2021-12-29 16:53:57 +08:00
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
'''
@File : app.py
@Author: liuyihui
@Email : liuyihui02@gmail.com
'''
# here put the import lib
from flask import Flask, request, render_template
app = Flask(__name__)
@app.route('/', methods=["GET"])
def root():
return "Hello World!"
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0', port=4002)