In <36d2b7cf-2537-46a6-b984-9fce7ddd3...@googlegroups.com> 
m...@socialassets.org 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
gor...@panix.com              B is for Basil, assaulted by bears
                                -- Edward Gorey, "The Gashlycrumb Tinies"

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

Reply via email to