python backup script
mina at socialassets.org
mina at socialassets.org
Mon May 6 18:12:59 EDT 2013
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?
More information about the Python-list
mailing list