[Tutor] Python suddenly finding ".DS_Store" files in folder
Scot W. Stevenson
scot at possum.in-berlin.de
Wed Apr 7 19:43:25 EDT 2004
Hello Danny,
> Actually, it _is_ Mac OS X running around inserting files.
Ye Gods. How strange. They certainly don't tell you that in the switcher ads,
do they ...
> And if we want our programs to follow the same conventions, we'll have to
> filter out those filenames ourselves. If you write a small helper
> function that filters out os.listdir()'s output, that should do the trick.
Yeah, now I have an ugly hack that checks if the file is .DS_Store and if so,
skips it.
I think I might want to take another look at Yellow Dog Linux...
Thank you for the help!
Y, Scot
--
Scot W. Stevenson - Panketal, Germany
More information about the Tutor
mailing list