Answers for "python dict to url params"

1

python dict to url params

>>> import urllib
>>> urllib.urlencode({'p': [1, 2, 3]}, doseq=True)
'p=1&p=2&p=3'
Posted by: Guest on January-14-2021

Python Answers by Framework

Browse Popular Code Answers by Language