Loading flask_test/hello.py 0 → 100644 +11 −0 Changes for flask_test/hello.py: 11 added lines, 0 removed lines. Original line number Diff line number Diff line from flask import Flask app = Flask(__name__) @app.route('/') def main(): return 'Hello, World!' # this has the same function like 2 commands in console from app.py, just RUN python hello.py !!! if __name__ == '__main__': app.run() ######################## No newline at end of file Loading
flask_test/hello.py 0 → 100644 +11 −0 Changes for flask_test/hello.py: 11 added lines, 0 removed lines. Original line number Diff line number Diff line from flask import Flask app = Flask(__name__) @app.route('/') def main(): return 'Hello, World!' # this has the same function like 2 commands in console from app.py, just RUN python hello.py !!! if __name__ == '__main__': app.run() ######################## No newline at end of file