diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-05-06 17:11:23 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-08 01:41:50 +0700 |
commit | 04c2816238ff2d88832a8a76f23de993cd9f5b36 (patch) | |
tree | 99f7e9baa378bc1725d6d6ac54f0d7aa49bdc43a /python/python2-scandir/README | |
parent | 808e01270959e221d918d856064129e2aa2f1f69 (diff) |
python/python-scandir: Renamed python2-scandir.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python2-scandir/README')
-rw-r--r-- | python/python2-scandir/README | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/python/python2-scandir/README b/python/python2-scandir/README new file mode 100644 index 0000000000..06f58b7ca8 --- /dev/null +++ b/python/python2-scandir/README @@ -0,0 +1,13 @@ +scandir, a better directory iterator and faster os.walk() + +scandir() is a generator version of os.listdir() that returns +an iterator over files in a directory, and also exposes the +extra information most OSes provide while iterating files in a +directory (such as type and stat information). + +This module also includes a version of os.walk() that uses +scandir() to speed it up significantly. + +NOTE: If you're using Python version 3.5+, os.scandir() and the +speed improvements to os.walk() are already available in the +standard library. |