python 標準庫之 glob 介紹

關注RPA請訪問網站: www.i-search.com.cn 學Python,用RPA,歡迎下載使用 www.i-search.com.cn/index.html?from=line1 文件是不是符合。 1 通配符 星號 (*) 匹配零個或多個字符 import glob for name in glob.glob(’./test/*’): print(name) 運行結果如下:(其中包括了目錄
相關文章
相關標籤/搜索