摘要:
>>> a = '会'>>> a.decode('ascii')Traceback (most recent call last): File "<stdin>", line 1, in <module>UnicodeDecodeError: 'ascii' codec can't decode b 阅读全文
posted @ 2017-09-04 21:01
深圳地铁Princess
阅读(227)
评论(0)
推荐(0)
摘要:
python2 from urllib2 import urlparse python3 from urlib.parse import urlparse >>> url = "http://localhost/test.py?a=hello&b=world ">>> from urlib2 imp 阅读全文
posted @ 2017-09-04 18:29
深圳地铁Princess
阅读(4364)
评论(0)
推荐(0)

浙公网安备 33010602011771号