【发布时间】:2012-04-09 21:41:09
【问题描述】:
我尝试使用 python 通过 URL 传递多个参数,我是这样写的:
self.response.out.write("""<html><br><body><center> <li ><a href="download.py?blob_key=%s & width=%s & height=%s" >%s</a></center></body></html>
""" % (str(blob_key),str(w),str(h), str(name)))
但是我不能通过这个方法,我不知道确切的错误。 谢谢
【问题讨论】:
-
除了空格,正如答案所指出的那样,我敢打赌你会得到一个你甚至没有提到的
TypeError。
标签: python url parameter-passing