Commit 27ff56cf authored by SimonGlomb's avatar SimonGlomb
Browse files

hello on request

parent c828fe61
......@@ -7,5 +7,12 @@ app = Flask(__name__)
def hello_world():
return "<p>Hello, World!</p>"
@app.route("/run_code")
def run_code():
os.system("python ./code/test.py")
return "<p>some text</p>"
if __name__ == "__main__":
app.run()
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment