I would like to use the power of Python to build some list structures
for me.
Namely i have organized a bunch of folders that have soundfiles in them
and would like Python to slurp up all the .aif/.aiff (or .wav whatever)
files in a given set of directories. My friend hacked up this is perl:
os.chdir() ?
thank you!
--
Dennis Lee Bieber [EMAIL PROTECTED]
news:[EMAIL PROTECTED]
On Fri, 24 Feb 2006 11:36:08 +0800, Ê÷Éϲä»Ò [EMAIL PROTECTED]
declaimed the following in comp.lang.python:
thank everyone!!!
I'd had to run to work so couldn't test, but... notice this:
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
kpp9c wrote:
Namely i have organized a bunch of folders that have soundfiles in them
and would like Python to slurp up all the .aif/.aiff (or .wav whatever)
files in a given set of directories. My friend hacked up this is perl:
$files = `ls /snd/Public/*.aiff`;
You could use posix.popen to
..I hope that you are aware that xml is *case sensitive*
--
http://mail.python.org/mailman/listinfo/python-list
Bugs item #1436900, was opened at 2006-02-22 10:38
Message generated for change (Comment added) made by tungwaiyip
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1436900group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1194328, was opened at 2005-05-03 09:44
Message generated for change (Comment added) made by boukthor
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1194328group_id=5470
Please note that this message will contain a full copy of the comment
Bugs item #1437785, was opened at 2006-02-23 17:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detailatid=105470aid=1437785group_id=5470
Please note that this message will contain a full copy of
201 - 208 of 208 matches
Mail list logo