📜  python 简单的网络应用程序 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:58.205000             🧑  作者: Mango

代码示例1
# Core web app using flask
# Download flask if you haven't
from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello, World!'

if __name__ == '__main__':
    app.run()

# If you want to put this on the internet, use something like heroku to deploy it.