cool i just tried:

>>> import os
>>>snd_filelist = [f for f in os.listdir('/Users/foo/snd') if 
>>>f.endswith('.aif')]


and it worked! and will take a huge bite out of my big script ... which
i make by doing an ls
in the terminal and editing (boo hoo)

one one lc and one import!

cool..

that other sillyness i mentioned is not strickly required  ... just
dreaming but i know involves some kind of os walk type thing prolly ...
meanwhile this is so exciting!

Thank you!!!!

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to