Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from flask import Flask, render_template, url_for
- app = Flask(__name__) ### get name of module
- @app.route('/')
- def index():
- return render_template("index.html")
- if __name__ == '__main__':
- app.run( 'localhost',debug = True)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement