开发者

Google App Engine : print "self.request.path"

When I self.response.out.write(self.request.path) the output is some开发者_如何学编程thing like \page\cfg%27%40.

How do I print out the character instead?


you have do something like this

import urllib2
path = self.request.path
unquoted_path=urllib2.unquote(path)
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜