>>> import glob >>> glob.glob('*', recursive=True) ['a.txt', 'bbb'] >>> glob.glob('**', recursive=True) ['a.txt', 'bbb', 'bbb\\b.txt', 'bbb\\ccc', 'bbb\\ccc\\c.txt'] >>>
ZhangZhihui's Blog |
|
||
Copyright © 2024 ZhangZhihuiAAA
Powered by .NET 9.0 on Kubernetes |