我想用Python后端连接Flutter。一些教程,如ML models using flask或online tutorials,建议使用FLASK的REST-API来连接Flutter和Python。通常,使用FLASK创建一个localhost,flutter应用程序通过http包获取信息。我需要创建一个flutter-python连接,这是非常安全和本地的,这意味着,当应用程序发布时,<em
我有一个在Apache中运行的Flask应用程序,它依赖于PyMySQL。应用程序提供了一系列REST命令。它在Python 3下运行。#!flask/bin/pythonimport pymysql
# Used to hopefully share the connection= pymysql.connect(**store_connection