python-求解决一个问题,可付费

2015 年 6 月 27 日
 bo369
问题如下,本想做个demo,卡住了。
3371 次点击
所在节点    问与答
12 条回复
scys
2015 年 6 月 27 日
完全不知道你说啥。。。兄台,你打算将工作外包,也要说清楚事情,否则就是胡闹了。
bo369
2015 年 6 月 27 日
loading
2015 年 6 月 27 日
@app.route("/demo",methods=["post"]
def demo():
keyword=request.form["keyword"]
return redirect("www.xxx.com/"+keyword)


手机打的,应该差不多
xzl380
2015 年 6 月 27 日
请联系 fangpeishi#gmail
loading
2015 年 6 月 27 日
如果头像不是本人,请及时更换,v2ex对女性头像有特殊规定!
bo369
2015 年 6 月 27 日
@loading 有说明吗?
loading
2015 年 6 月 27 日
https://v2ex.com/t/62637
这个是头像规定!


如果你要代码说明,就这么几行,要点我认为也就 route,request和 redirect 。
我怀疑你那个所谓的写好的查询站点是谁写的…
bo369
2015 年 6 月 27 日
@loading 出现错误了。

Method Not Allowed

The method is not allowed for the requested URL.

但也声明post了啊。
-------
嘿嘿,我换个正常的头像吧。
loading
2015 年 6 月 27 日
你应该也不知道 html 的 form 要 post 如何写吧…

建议建议楼上那位,付钱解决吧,你太牛,钱不敢要您的!
loading
2015 年 6 月 27 日
建议看一次 flask 的文档。

别逼我们 block 伸手党,我觉得我代码的提示够多了,自己查查文档,改改就行了。
bo369
2015 年 6 月 27 日
@loading 我在查文档了,谢谢您的提醒。
llhh
2017 年 5 月 5 日

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/201614

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX