[Tutor] List files in directory
ejp at zomething.com
Sun Aug 15 22:22:26 CEST 2004
"Bernard Lebel" wrote:
> Anyone has advice on how to collect filenames from a directory?
> I want to print only the files contains in the currently visited directory.
This is simple enough that I can help:
path="C:\\somedirectory" # insert the path to the directory of interest here
for fname in dirList:
More information about the Tutor