hello cc

2014年11月21日

只有注册用户登录后才能阅读该文。 阅读全文

posted @ 2014-11-21 19:38 星际海盗 阅读(1389) 评论(0) 推荐(0) 编辑

摘要: # locate xxxx locate: can not open () `/var/lib/mlocate/mlocate.db': No such file or directory 如果出现此错误,请执行updatedb # updatedb # locate xxxx整个locate工作... 阅读全文

posted @ 2014-11-21 10:45 星际海盗 阅读(608) 评论(0) 推荐(0) 编辑

摘要: 正则表达式的使用 compile 方法 编译正则表达式: 如果定义的一个正则表达式使用比较频繁的话,可以把该正则表达式编译一下,让它成为一个对象,然后使用,这样可以提高查找速度。 编译使用的是re中的compile()方法。 help(re.compile) compile(pattern, fla 阅读全文

posted @ 2014-11-21 06:45 星际海盗 阅读(341) 评论(0) 推荐(0) 编辑

hello man