全部博文(108)
发布时间:2014-04-22 15:27:36
at /proc/meminfo 读出的内核信息进行解释,下篇文章会简单对读出该信息的代码进行简单的分析。# cat /proc/meminfoMemTotal: 16438852 kBMemFree: 10980184 kBBuffers: 95884 kBCache.........【阅读全文】
发布时间:2014-04-10 12:49:22
最近忙的很,暂时找点东西看下。不想干活。search(string[, pos[, endpos]])Scan through string looking for a location where this regular expression produces a match, and return a corresponding MatchObject instance. Return None if no position in the strin.........【阅读全文】
发布时间:2014-04-10 11:48:32
(?iLmsux)(One or more letters from the set 'i', 'L', 'm', 's', 'u', 'x'.) The group matches the empty string; the letters set the corresponding flags: re.I (ignore case), re.L (locale dependent), re.M (multi-line), re.S (.........【阅读全文】