好的,所以根据http://docs.python.org/library/urllib.html
"编码字符串中的参数顺序将与序列中参数元组的顺序相匹配."
除非我尝试运行此代码:
import urllib
values ={'one':'one',
'two':'two',
'three':'three',
'four':'four',
'five':'five',
'six':'six',
'seven':'seven'}
data=urllib.urlencode(values)
print data
Run Code Online (Sandbox Code Playgroud)
输出为......
seven=seven&six=six&three=three&two=two&four=four&five=five&one=one
Run Code Online (Sandbox Code Playgroud)
7,6,3,2,4,5,1?
这看起来不像我的元组的顺序.