Jan-01-2020, 10:41 AM
pydeev Wrote:is there inefficient for using list?Appending 6000 times to a list will cost you a fraction of a millisecond for the whole process. This is negligible as compared to the time needed to scan the file system with stat calls.