Commit 692b5127 authored by Luis Acosta's avatar Luis Acosta

Inicio Prueba Flask

parent 6518f552
from functools import wraps
from flask import Flask, request, jsonify, render_template, redirect, url_for, session, flash
import pandas as pd
from mysql.connector import Error
app = Flask(__name__)
@app.route('/')
def home():
return "¡Hola, mundo!"
@app.route('/prueba')
def acceso():
return "¡Hola, Prueba!"
if __name__ == '__main__':
app.run(debug=True)
Flask==3.0.3
mysql-connector-python==9.0.0
python-dotenv==1.0.1
\ No newline at end of file
Markdown is supported
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