当我 self.response.out.write(self.request.path)
时,输出类似于 \page\cfg%27%40
。
如何打印出字符?
最佳答案
你做了这样的事情
import urllib2
path = self.request.path
unquoted_path=urllib2.unquote(path)
关于google-app-engine - 谷歌应用引擎 : print "self.request.path",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5893842/