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


Groups > comp.lang.python > #41928

Re: Help with zip in a Python exercise

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <joel.goldstick@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.003
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'tutorial': 0.03; 'subject:Python': 0.06; 'error:': 0.07; 'linux,': 0.07; 'arguments': 0.09; 'quiet': 0.09; 'skip:/ 10': 0.09; 'works.': 0.09; 'cc:addr:python-list': 0.11; 'subject:Help': 0.11; 'python': 0.11; 'command.': 0.16; 'mode,': 0.16; 'wrote:': 0.18; 'work,': 0.20; 'thanks.': 0.20; 'command': 0.22; 'select': 0.22; 'cc:addr:python.org': 0.22; 'error': 0.23; 'looks': 0.24; 'question': 0.24; 'cc:2**0': 0.24; "i've": 0.25; 'header:In-Reply- To:1': 0.27; 'point': 0.28; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'work.': 0.31; 'produces': 0.31; 'url:python': 0.33; 'problem': 0.35; 'subject:with': 0.35; 'received:209.85': 0.35; 'anybody': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'google': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'should': 0.36; 'received:209': 0.37; 'pm,': 0.38; 'bill': 0.39; 'sure': 0.39; 'url:mail': 0.40; 'remove': 0.60; 'read': 0.60; 'zip': 0.64; 'mar': 0.68; '26,': 0.68; 'invalid': 0.68; 'online': 0.71; 'joel': 0.91; '2013': 0.98
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=ywFYKMgiiQHMPIfdxnai9tWut3xknSdtCfpg0M637HI=; b=mM82/xcUAzLwvoLmqCF6XZhroAXlpfOp8J0PlPA1nvw4OncAZucgmsC1A4W+9Ru5in GqTC2SP0Q0fTlGhSBnTbQnl+kA37lUiJ/Eu0hHkD+0jEmZSTIMcE1jsPXa1LdrwSkQxa pLTinvsLTLi1GBWYPM5bHBRu1WA/xmZum/MUqGmzOeH1Cmvfia6sAEnmmqy2UFGOJulC 4XUJdntMEYFsTWIId2wYqfhu/K0qAPtszZiV4v0m+AsanrnpTyF9QxFUcFbVeMRnhYa8 baWZsORiTfI3xJwrq4w635t4zEezjXO7GEbXsanAajzKjZYJkuy3nP87c+twPKz7UeNK 66ow==
MIME-Version 1.0
X-Received by 10.52.19.200 with SMTP id h8mr16758306vde.60.1364318564725; Tue, 26 Mar 2013 10:22:44 -0700 (PDT)
In-Reply-To <6d95376b-1c56-4710-b81b-87177b189c5a@googlegroups.com>
References <6d95376b-1c56-4710-b81b-87177b189c5a@googlegroups.com>
Date Tue, 26 Mar 2013 13:22:44 -0400
Subject Re: Help with zip in a Python exercise
From Joel Goldstick <joel.goldstick@gmail.com>
To luggw1@elpasotel.net
Content-Type multipart/alternative; boundary=20cf307ca04c693b6504d8d72b9b
Cc "python-list@python.org" <python-list@python.org>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.3760.1364318567.2939.python-list@python.org> (permalink)
Lines 84
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1364318567 news.xs4all.nl 6868 [2001:888:2000:d::a6]:38573
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:41928

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, Mar 26, 2013 at 1:06 PM, <luggw1@elpasotel.net> wrote:

> I've been working through a Python tutorial online and one of the
> exercises uses the zip command.  The only problem is that the command
> doesn't work.  I've read through the man page for zip and it looks like
> what I'm attempting should work, but it doesn't.
>
> The command is:
>
> zip -qr /media/backup/backups/test/20130326100218.zip -i
> /home/luggw1/Documents/ /home/luggw1/Code/
>
> The error it produces is:
>
> zip error: Invalid command arguments (nothing to select from)
>
> Can anybody point out the error of my ways?
>

Not sure what os you are using.  If linux, then the zip command looks odd.
-q is quiet mode, you might want to remove that til it works.  Also not
sure your -i is set up propery.  Try to google zip tutorial as this isn't a
python question at all

>
> Thanks.
> Bill Lugg
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Joel Goldstick
http://joelgoldstick.com

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


Thread

Help with zip in a Python exercise luggw1@elpasotel.net - 2013-03-26 10:06 -0700
  Re: Help with zip in a Python exercise Joel Goldstick <joel.goldstick@gmail.com> - 2013-03-26 13:22 -0400
  Re: Help with zip in a Python exercise Anssi Saari <as@sci.fi> - 2013-03-28 15:35 +0200

csiph-web