Guix will hold its first online conference November 22nd. Propose a talk before November 6th. Learn more!

python2-scandir 1.10.0 Directory iteration function

Directory iteration function like os.listdir(), except that instead of returning a list of bare filenames, it yields DirEntry objects that include file type and stat information along with the name. Using scandir() increases the speed of os.walk() by 2-20 times (depending on the platform and file system) by avoiding unnecessary calls to os.stat() in most cases.

This package is part of the Python standard library since version 3.5.