I am trying to use urllib.urlencod e to post a multidimensiona l dictionary to a php page.
This is the code I am using
Code:
test = {}
test['boom'] = {}
test['boom']['zoom'] = "bang"
server_params = urllib.urlencode(test)
response = urllib2.urlopen(server_url, server_params).read()
Leave a comment: