python backup script

MMZ programmer.toronto at gmail.com
Mon May 6 18:15:16 EDT 2013


 stdin=cmd1.stdout)
        ^
SyntaxError: invalid syntax

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




More information about the Python-list mailing list