URL encoding in python

后端 未结 3 1461
余生分开走
余生分开走 2020-12-08 02:53

Is there a simple method I\'m missing in urllib or other library for this task? URL encoding replaces unsafe ASCII characters with a \"%\" followed by two hexa

3条回答
  •  庸人自扰
    2020-12-08 03:30

    Also, if you have a dict of several values, the best way to do it will be urllib.urlencode.

提交回复
热议问题