Advertisement
CuocSong

helloworld.py

Apr 8th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.18 KB | None | 0 0
  1. from flask import Flask
  2.  
  3. app = Flask(__name__)
  4.  
  5. @app.route('/')
  6. def index():
  7.     return 'Hello World'
  8.    
  9. if __name__ == '__main__':
  10.     app.run(debug=True, port=80, host='0.0.0.0')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement