Re: getting from command line options to file

2007-04-20 Thread Gabriel Genellina
En Fri, 20 Apr 2007 17:48:10 -0300, CSUIDL PROGRAMMEr <[EMAIL PROTECTED]> escribió: > On Apr 16, 1:08 pm, Michael Hoffman <[EMAIL PROTECTED]> wrote: >> CSUIDL PROGRAMMEr wrote: >> > hi folks >> > I am new to python. I have a module does call a os.command(cmd) where >> > cmd is a rpm command. >>

Re: getting from command line options to file

2007-04-20 Thread CSUIDL PROGRAMMEr
On Apr 16, 1:08 pm, Michael Hoffman <[EMAIL PROTECTED]> wrote: > CSUIDL PROGRAMMEr wrote: > > hi folks > > I am new to python. I have a module does call a os.command(cmd) where > > cmd is a rpm command. > > Instead of using os.command and getting the results on command line , > > i would like to du

Re: getting from command line options to file

2007-04-16 Thread Michael Hoffman
CSUIDL PROGRAMMEr wrote: > hi folks > I am new to python. I have a module does call a os.command(cmd) where > cmd is a rpm command. > Instead of using os.command and getting the results on command line , > i would like to dump the output in a file. Is os.command(cmd > > filename) the most efficien

getting from command line options to file

2007-04-16 Thread CSUIDL PROGRAMMEr
hi folks I am new to python. I have a module does call a os.command(cmd) where cmd is a rpm command. Instead of using os.command and getting the results on command line , i would like to dump the output in a file. Is os.command(cmd > filename) the most efficient command?? thanks -- http://mail