【发布时间】:2026-02-05 15:35:01
【问题描述】:
在这里尝试了所有步骤:https://www.ssl2buy.com/wiki/how-to-fix-err-ssl-protocol-error
确切代码: 来自https://techwithtim.net/tutorials/flask/a-basic-website/
from flask import Flask
# Defining the home page of our site
app = Flask(__name__)
if __name__ == "__main__":
app.run()
@app.route("/") # this sets the route to this page
def home():
return "Hello! this is the main page <h1>HELLO</h1>" # some basic inline html@app.route("/") # this sets the route to this page
【问题讨论】:
标签: python google-chrome ssl flask server