摘要: 先来看一段Python代码:import osimport sysfrom UserDict import UserDictdef stripnulls(data): "strip whitespace and nulls" return data.replace("\00", "").strip()class FileInfo(UserDict): "store file metadata" def __init__(self, filename=None): UserDict.__init__(self) se 阅读全文
posted @ 2011-08-03 15:20 何塞穆里尼奥 阅读(619) 评论(2) 推荐(0)