from routing import app app.static_folder = 'static' app.run(debug=True)
# -*- coding: utf-8 -*- from routing import app app.run(None, 3000)
from routing import app if __name__ == "__main__": app.run(threaded=True)
def init_server(): from routing import app app.config['debug'] = True url = "http://127.0.0.1:9292" threading.Timer(0.5, lambda: webbrowser.open(url)).start() app.run(host='0.0.0.0', port=9292)
from routing import app if __name__ == '__main__': app.run()