diff --git a/hexlib/files.py b/hexlib/files.py new file mode 100644 index 0000000..7d13930 --- /dev/null +++ b/hexlib/files.py @@ -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) + diff --git a/setup.py b/setup.py index 0527d9d..982402a 100644 --- a/setup.py +++ b/setup.py @@ -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"],