@AniketParulekar/

CreativeFlaskBasic

Python

No description

fork
loading
Files
  • main.py
  • templates
  • requirements.txt
  • test.py
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from test import a
import os
from flask import Flask, render_template, redirect, request, session, abort, flash

app = Flask(__name__)

@app.route('/')
def main():
	return render_template('index.html')

if __name__ == '__main__':
	app.secret_key = os.urandom(12)
	app.run(host='0.0.0.0', debug=True)