mirror of
https://github.com/simon987/hexlib.git
synced 2025-04-19 09:46:42 +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)
|
||||||
|
|
2
setup.py
2
setup.py
@ -3,7 +3,7 @@ from setuptools import setup
|
|||||||
setup(
|
setup(
|
||||||
name="hexlib",
|
name="hexlib",
|
||||||
version="1.0",
|
version="1.0",
|
||||||
description="Midx ",
|
description="Misc utility methods",
|
||||||
author="simon987",
|
author="simon987",
|
||||||
author_email="me@simon987.net",
|
author_email="me@simon987.net",
|
||||||
packages=["hexlib"],
|
packages=["hexlib"],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user