[PD] Testing whether a directory is empty without printing error messages if it is

2011-06-20 Thread Matteo Sisti Sette
Hi, I'm using [folder_list] to perform the following tasks: - check whether a directory or file exists - get the list of files in a directory (which is an empty list if the directory is empty) However, when the file does not exist or the directory of which I'm getting the list is empty, it

Re: [PD] Testing whether a directory is empty without printing error messages if it is

2011-06-20 Thread Jack
Le lundi 20 juin 2011 à 18:36 +0200, Matteo Sisti Sette a écrit : Hi, I'm using [folder_list] to perform the following tasks: - check whether a directory or file exists - get the list of files in a directory (which is an empty list if the directory is empty) However, when the file does

Re: [PD] Testing whether a directory is empty without printing error messages if it is

2011-06-20 Thread Ingo
Sette Gesendet: Montag, 20. Juni 2011 18:37 An: PD-List Betreff: [PD] Testing whether a directory is empty without printing error messages if it is Hi, I'm using [folder_list] to perform the following tasks: - check whether a directory or file exists - get the list of files in a directory (which

Re: [PD] Testing whether a directory is empty without printing error messages if it is

2011-06-20 Thread Hans-Christoph Steiner
- Von: pd-list-boun...@iem.at [mailto:pd-list-boun...@iem.at] Im Auftrag von Matteo Sisti Sette Gesendet: Montag, 20. Juni 2011 18:37 An: PD-List Betreff: [PD] Testing whether a directory is empty without printing error messages if it is Hi, I'm using [folder_list] to perform the following tasks