We experience very slow performance with the os.path.isdir () method in windows. The same function under osx works in 0.3 seconds versus 1.8 for windows when checking a large number of files.
Is there an alternative to os.path.isdir () that will be faster?
source share