walk最方便
Topic source排版太烂了
for root, dirs, files in os.walk(path):
for file in files:
if target_str in file:
print(os.path.join(root, file))
- 1
排版太烂了
for root, dirs, files in os.walk(path):
for file in files:
if target_str in file:
print(os.path.join(root, file))
新雨沐晨风
for root, dirs, files in os.walk(path):
for file in files:
if target_str in file:
print(os.path.join(root, file))