Python 常用库

difflib :  SequenceMatcher、get_opcodes()

urllibs: Request、urllib2.urlopen()

os     : os.path

sys   : sys.stdout.write

datetime: datetime.now()

re : re.compile    pat_obj.findall()

json:  json.dumps(obj)  json.loads(str)

logging:  formatter, handler, logger

open()  read() splitlines()  split()

 

web: django

posted @ 2013-10-10 10:29  taotaowill  阅读(173)  评论(0编辑  收藏  举报