Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试从烧瓶视图中获取 url 参数:
www.domain.com/?f=x**2
如何x**2从urlFlask 视图中获取?
x**2
url
您可以使用检索查询字符串变量
request.args.get('myParam')
或者
request.args['myParam']
myParam您尝试接收的查询字符串中的变量在哪里。
myParam