How to determine that if a folder is empty?
bh at intevation.de
Mon Aug 8 18:37:20 CEST 2005
jepler at unpythonic.net writes:
> On standard Unix fileystems, one way to check for this is to check that the
> st_nlink of the directory is 2.
In that case you only know that the directory doesn't have any
subdirectories. It may still contain ordinary files and other
Intevation GmbH http://intevation.de/
More information about the Python-list