and one example of a slightly fancier version would be a variation that looks recursively into subdirectories and makes separate lists for each subdirectory encountered.
so if i had a directory called "~/snd/" and in "~/snd/" i had: "~/snd/one/" "~/snd/two/" "~/snd/three/" each with soundfiles in it. I could get those packed in three separate lists named after the directory or some such thing.... This would be so awesome because my carefully organizing your directory, you would be carefully organizing your data, change your dir structure or add/delete some files and you would get a new structure in your script... prolly would work with scripting your iTunes music folder too... gosh ... sorry ... just thinking out-loud here and getting kind of giddy! reaching for the python book ... -- http://mail.python.org/mailman/listinfo/python-list