skip to navigation
skip to content

scandir 1.2

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.

 
File Type Py Version Uploaded on Size
scandir-1.2.tar.gz (md5) Source 2016-01-03 24KB
scandir-1.2.win-amd64-py2.7.exe (md5) MS Windows installer 2.7 2016-01-03 235KB
scandir-1.2.zip (md5) Source 2016-01-03 27KB
  • Downloads (All Versions):
  • 300 downloads in the last day
  • 1665 downloads in the last week
  • 14830 downloads in the last month