×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: kushedow Кушедов
Added: Dec 12, 2021 8:35 AM
Modified: Feb 6, 2022 10:13 PM
Views: 604
Tags: no tags
  1. from flask import Flask, request, render_template
  2.  
  3.  
  4. app = Flask(__name__)
  5.  
  6.  
  7. @app.route('/',)
  8. def page_index():
  9.    
  10.     return "It works"
  11.  
  12.  
  13. app.run()
  14.