Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44858

Re: python backup script

X-Received by 10.224.217.195 with SMTP id hn3mr37582488qab.5.1367878517095; Mon, 06 May 2013 15:15:17 -0700 (PDT)
X-Received by 10.49.105.234 with SMTP id gp10mr1760642qeb.1.1367878517016; Mon, 06 May 2013 15:15:17 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!m7no2940388qam.0!news-out.google.com!y6ni0qax.0!nntp.google.com!m7no2940380qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Mon, 6 May 2013 15:15:16 -0700 (PDT)
In-Reply-To <km98ft$99c$2@tdi.cu.mi.it>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=142.0.157.254; posting-account=662hCgoAAAC9r4ym9rErWC3Ec1h3Nw2z
NNTP-Posting-Host 142.0.157.254
References <b586db98-78b2-40a6-9e1c-3d8b939657c8@googlegroups.com> <km987m$99c$1@tdi.cu.mi.it> <km98ft$99c$2@tdi.cu.mi.it>
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <2c1e5a9b-cd5a-4fbf-9a09-bf2e566b83f3@googlegroups.com> (permalink)
Subject Re: python backup script
From MMZ <programmer.toronto@gmail.com>
Injection-Date Mon, 06 May 2013 22:15:17 +0000
Content-Type text/plain; charset=ISO-8859-1
Xref csiph.com comp.lang.python:44858

Show key headers only | View raw


 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

python backup script MMZ <programmer.toronto@gmail.com> - 2013-05-06 12:01 -0700
  Re: python backup script Jerry Hill <malaclypse2@gmail.com> - 2013-05-06 15:11 -0400
    Re: python backup script MMZ <programmer.toronto@gmail.com> - 2013-05-06 12:20 -0700
      Re: python backup script Matt Jones <matt.walker.jones@gmail.com> - 2013-05-06 14:46 -0500
        Re: python backup script MMZ <programmer.toronto@gmail.com> - 2013-05-06 13:37 -0700
          Re: python backup script Matt Jones <matt.walker.jones@gmail.com> - 2013-05-06 16:08 -0500
  Re: python backup script Enrico 'Henryx' Bianchi <henryx_b@yahoo.it> - 2013-05-06 23:44 +0200
    Re: python backup script Enrico 'Henryx' Bianchi <henryx_b@yahoo.it> - 2013-05-06 23:48 +0200
      Re: python backup script mina@socialassets.org - 2013-05-06 15:12 -0700
        Re: python backup script John Gordon <gordon@panix.com> - 2013-05-06 22:15 +0000
          Re: python backup script Enrico 'Henryx' Bianchi <henryx_b@yahoo.it> - 2013-05-07 21:11 +0200
        Re: python backup script MRAB <python@mrabarnett.plus.com> - 2013-05-06 23:28 +0100
      Re: python backup script MMZ <programmer.toronto@gmail.com> - 2013-05-06 15:15 -0700
  Re: python backup script Chris Angelico <rosuav@gmail.com> - 2013-05-07 08:12 +1000
    Re: python backup script MMZ <programmer.toronto@gmail.com> - 2013-05-06 15:40 -0700
      Re: python backup script Chris Angelico <rosuav@gmail.com> - 2013-05-07 08:51 +1000
      Re: python backup script MRAB <python@mrabarnett.plus.com> - 2013-05-06 23:52 +0100
  Re: python backup script Peter Otten <__peter__@web.de> - 2013-05-07 08:18 +0200

csiph-web