Tekkaman

导航

 

2013年12月3日

摘要: [python's fnmatch&glob&os.listdir]fnmatch: fnmatch只有4种special character,用于提供和shell中一样的文件名的匹配. For a literal match, wrap the meta-characters in brackets. For example,'[?]'matches the character'?'. 主要函数有: fnmatch.fnmatch(), fnmatch.fnmatchcase(), fnmatch.filter(), fnmatch.t 阅读全文
posted @ 2013-12-03 14:15 Tekkaman 阅读(932) 评论(0) 推荐(0)