- urllib.request
- urlopen (url) # open directly corresponding url
- urlretrieve (url, image_path) # open directly to the url pictures stored behind a picture memory address
- encode () / decode () inside the parentheses is not written argument, the default is utf8, write only write gbk.
urllib.request encode()/decode()
Guess you like
Origin www.cnblogs.com/ybl20000418/p/11564839.html
Recommended
Ranking