📜  如何使用 Python Glob 模块 - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:58.383000             🧑  作者: Mango

代码示例1
import glob
# path of the current directory
path = '.'
curfiles = glob.glob(path + '/*.html')
for file in curfiles:
    print(file)