태그

2022-08-01

Flask 3분 맛보기

$ pip install flask
$ vi myapp.py


from flask import Flask


app = Flask(__name__)

@app.route('/')
def index():
    return 'Hello Work'

if __name__ == '__main__':
    app.run(host='0', port=3000)



$ python3 myapp.py 


댓글 없음:

댓글 쓰기