随笔分类 -  python

摘要: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 阅读(4366) 评论(0) 推荐(0)
摘要:'\xe5\x8c\x97\xe4\xba\xac\xe6\x96\xb0\xe5\x8d\x8e\xe7\x94\xb5\xe8\x84\x91\xe5\xad\xa6\xe6\xa0\xa1' , 这个是课题里遇到的问题, 在招聘数据的薪水这一栏处理的时候有UnicodeError, 所以无法把 阅读全文
posted @ 2017-08-31 22:32 深圳地铁Princess 阅读(9689) 评论(0) 推荐(1)