-- https://mail.python.org/mailman/listinfo/python-list
Suppose I have a directory C:/Test that is either empty or contains more
than 2000000 files, all with the same extension (e.g. *.txt). How can I
determine if the directory is empty WITHOUT the generation of a list of
the file names in it (e.g. using os.listdir('C:/Test')) when it is not
empty?
- Test for an empty directory that could be very large if it... Virgil Stokes
- Re: Test for an empty directory that could be very la... Ben Finney
- Re: Test for an empty directory that could be very la... Steven D'Aprano
- Re: Test for an empty directory that could be very la... Akira Li
- Re: Test for an empty directory that could be very la... John Gordon