On 06/05/2013 23:12, m...@socialassets.org wrote:
On Monday, May 6, 2013 5:48:44 PM UTC-4, Enrico 'Henryx' Bianchi wrote:
Enrico 'Henryx' Bianchi wrote:

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

Doh, my fault:

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

Enrico

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

any idea?

Missing comma on the previous line.

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

Reply via email to