mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-10 14:06:43 +00:00
add file utils
This commit is contained in:
parent
58e269a114
commit
7d87fc1d9c
8
hexlib/files.py
Normal file
8
hexlib/files.py
Normal file
@ -0,0 +1,8 @@
|
||||
import os
|
||||
|
||||
|
||||
def ftw(path):
|
||||
for cur, _dirs, files in os.walk(path):
|
||||
for file in files:
|
||||
yield os.path.join(cur, file)
|
||||
|
Loading…
x
Reference in New Issue
Block a user