In [26]: from urllib.parse import unquote
InIn [27]: from urllib.parse import quote
IIn [28]: quote("街拍")
Out[28]: '%E8%A1%97%E6%8B%8D'
In [29]: from urllib.parse import unquote
In [30]: unquote(quote("街拍"))
Out[30]: '街拍'
In [26]: from urllib.parse import unquote
InIn [27]: from urllib.parse import quote
IIn [28]: quote("街拍")
Out[28]: '%E8%A1%97%E6%8B%8D'
In [29]: from urllib.parse import unquote
In [30]: unquote(quote("街拍"))
Out[30]: '街拍'