mirror of
https://github.com/simon987/hexlib.git
synced 2025-12-17 08:39:04 +00:00
add file utils
This commit is contained in:
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)
|
||||
|
||||
Reference in New Issue
Block a user