摘要:
#!/bin/python#coding=utf-8import urllib,xlrd,lxml.html,re,pymongo,xlwtfail=open('fail','w')def getDocument(url,code='utf-8'): try: doc=lxml.html.fromstring(urllib.urlopen(url).read().decode(code)) print 'utf-8' except: doc=lxml.html.fromstring(urllib.urlopen(url).read 阅读全文
posted @ 2013-11-07 17:43
Epirus
阅读(789)
评论(0)
推荐(0)
摘要:
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['UTF-8','GB18030','GB2312','GBK','BIG5','CURRENT','UTF-16']"orgconf-editor/apps/gedit-2/preferences/encodings 阅读全文
posted @ 2013-11-07 15:36
Epirus
阅读(190)
评论(0)
推荐(0)
摘要:
hehe 阅读全文
posted @ 2013-11-07 10:58
Epirus
阅读(576)
评论(0)
推荐(0)
摘要:
!git add . |git commit -m "this is a swp file"|git push origin master 阅读全文
posted @ 2013-11-07 08:53
Epirus
阅读(122)
评论(0)
推荐(0)

浙公网安备 33010602011771号