ls files -- list packer

2006-02-23 Thread kpp9c
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:

Re: 'rar' is not recognized as an internal or external command��������

2006-02-23 Thread cn.popeye
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:

Re: ls files -- list packer

2006-02-23 Thread kpp9c
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

Re: ls files -- list packer

2006-02-23 Thread I V
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

Re: Using ElementTree to tidy up an XML string to my liking

2006-02-23 Thread Simon Dahlbacka
..I hope that you are aware that xml is *case sensitive* -- http://mail.python.org/mailman/listinfo/python-list

[ python-Bugs-1436900 ] Problem parsing cmdline parameter quoted with a trailing \

2006-02-23 Thread SourceForge.net
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

[ python-Bugs-1194328 ] Reading from a killed shell script with popen* under linux

2006-02-23 Thread SourceForge.net
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

[ python-Bugs-1437785 ] Problems w/ expat 1.95.7 vs. Python 2.4

2006-02-23 Thread SourceForge.net
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

<    1   2   3