Re: [Tutor] Cmd line not correctly interpreted

2016-06-04 Thread Peter Otten
Alan Outhier wrote: > I'm working on a Python script to call "sox" to convert ;ogg files to > .mp3s. > > In the following segment...: To avoid garbled code as seen below please ensure that you post plain text. Thank you. > > *1outname=fname+".mp3"2fname=ReSpace(fname) # substitute "

Re: [Tutor] Cmd line not correctly interpreted

2016-06-04 Thread Steven D'Aprano
On Fri, Jun 03, 2016 at 06:01:48PM -0700, Alan Outhier wrote: > I'm working on a Python script to call "sox" to convert ;ogg files to .mp3s. > > In the following segment...: > > *1outname=fname+".mp3"2fname=ReSpace(fname) # substitute " " with > "\ "3outname=ReSpace(outname)4cmd

Re: [Tutor] Cmd line not correctly interpreted

2016-06-04 Thread Alan Gauld via Tutor
On 04/06/16 02:01, Alan Outhier wrote: > I'm working on a Python script to call "sox" to convert ;ogg files to .mp3s. 1outname=fname+".mp3" 2fname=ReSpace(fname) # substitute " " with "\ " 3outname=ReSpace(outname) 4cmdline="sox " + fname + " " +outname 5print cmdline 6rt