add file utils

This commit is contained in:
simon 2019-11-20 16:53:29 -05:00
parent 58e269a114
commit 7d87fc1d9c
2 changed files with 9 additions and 1 deletions

8
hexlib/files.py Normal file
View 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)

View File

@ -3,7 +3,7 @@ from setuptools import setup
setup(
name="hexlib",
version="1.0",
description="Midx ",
description="Misc utility methods",
author="simon987",
author_email="me@simon987.net",
packages=["hexlib"],