We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c23ae2 commit ba2ef79Copy full SHA for ba2ef79
README.md
@@ -1169,15 +1169,22 @@ wf.close()
1169
```
1170
1171
1172
-UrlLib
1173
-------
1174
-### Translate special characters
+Url
+---
1175
```python
1176
>>> from urllib.parse import quote, quote_plus, unquote, unquote_plus
+```
1177
+
1178
+### Encode
1179
+```python
1180
>>> quote("Can't be in URL!")
1181
'Can%27t%20be%20in%20URL%21'
1182
>>> quote_plus("Can't be in URL!")
1183
'Can%27t+be+in+URL%21
1184
1185
1186
+### Decode
1187
1188
>>> unquote('Can%27t+be+in+URL%21')
1189
"Can't+be+in+URL!"'
1190
>>> unquote_plus('Can%27t+be+in+URL%21')
0 commit comments