摘要:
在通过后缀名查找类型文件的时候, 多次使用endwith, 使用元组(tuple), 简化操作. 此类方式, 也能够应用于if语句多次类似检測. 代码 # 列出目录内全部代码 def list_dictionary_codes(root_dir): paths_list = [] for paren 阅读全文
posted @ 2017-07-15 15:01
clnchanpin
阅读(414)
评论(0)
推荐(0)
浙公网安备 33010602011771号