Attributeerror: the solution of module ‘urllib’ has no attribute ‘quote’

Record:

Today, I saw the interface document provided by others. When parsing the text, I used urllib.quote In the end, we found that it was a version problem. The way to write python2 is urllib.quote , python3 should be changed to urllib.parse.quote That’s it.

 

 

Read More: