Oct-30-2018, 09:29 AM
Hi,
I have a problem running an app built with Flask in PyCharm, but it is working correctly in the shell.
It seems to come from a root path, does anyone know how to fix it ?
Thanks,
Here is the code : the classical
I have a problem running an app built with Flask in PyCharm, but it is working correctly in the shell.
It seems to come from a root path, does anyone know how to fix it ?
Thanks,
Here is the code : the classical
#! /usr/bin/python # -*- coding:utf-8 -*- from flask import Flask import os app = Flask(__name__) @app.route('/') def index(): return "Hello !" if __name__ == '__main__': app.run(debug=True)