slackbuilds/python/python2-scandir
Heinz Wiesinger 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
2021-07-17 21:55:09 +02:00
..
README
python2-scandir.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
python2-scandir.info
slack-desc

README

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.