File size: 292 Bytes
424f388
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from flask import Flask
import sys
import os

parent_dir = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
sys.path.insert(0, parent_dir)

autoexpress = Flask(__name__)

from autoexpress.views import autoexpress

if __name__ == "__main__":
    autoexpress.run(debug=True)