In <[email protected]> 
[email protected] writes:

> > cmd2 = subprocess.Popen(['gzip' '-c'],
> > 
> >                         shell=False,
> > 
> >                         stdout=filename
> > 
> >                         stdin=cmd1.stdout)

> Thank you Enrico. I've just tried your script and got this error:
>  stdin=cmd1.stdout)
>         ^
> SyntaxError: invalid syntax

Looks like you need a comma after 'stdout=filename'.

-- 
John Gordon                   A is for Amy, who fell down the stairs
[email protected]              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

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

Reply via email to