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


Groups > comp.lang.python > #21351

Re: What's the best way to write this regular expression?

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <ian.g.kelly@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.044
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'received:mail- lpp01m010-f46.google.com': 0.09; 'setup.py': 0.09; 'packages.': 0.13; 'archival': 0.16; 'compression': 0.16; 'denotes': 0.16; 'subject:expression': 0.16; 'subject:regular': 0.16; 'cc:addr :python-list': 0.16; 'wed,': 0.17; 'wrote:': 0.18; 'cc:no real name:2**0': 0.21; 'file,': 0.21; "doesn't": 0.22; 'header:In- Reply-To:1': 0.22; 'extract': 0.24; 'format,': 0.24; 'guess': 0.26; 'windows': 0.26; 'cc:2**0': 0.26; 'separate': 0.28; 'message-id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'archived': 0.30; 'separately': 0.30; '(as': 0.31; 'subject:?': 0.31; 'file.': 0.31; 'received:209.85.215.46': 0.32; 'does': 0.32; 'typically': 0.32; 'file': 0.34; 'smart': 0.34; 'subject:What': 0.34; 'two': 0.36; 'received:google.com': 0.37; 'received:209.85': 0.38; 'enough': 0.38; 'some': 0.38; 'files': 0.39; 'unlike': 0.39; 'option': 0.39; 'format.': 0.39; 'received:209.85.215': 0.39; 'received:209': 0.39; 'setup': 0.40; 'john': 0.61; 'zip': 0.62; 'subject:best': 0.67; 'compressed': 0.68; 'subject:this': 0.74; 'decompress': 0.77; 'compression,': 0.84; 'subject:write': 0.84; 'yours': 0.86
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=3kDdyznghrhEF/e8tcAuT1MaDpu3L6FuDeHoLO9jmjI=; b=HLS2fdXPadr0GmxufSO2lUVGCpMqITq3hyIIxnz+jk9j5SXAxpFuwBx6gluurtInfj Wph7mM6Uep5zfqeebfXWL/YNMIfXf5YhFp2XA77f52SDxjPdpv7ZC21lv44EvUhMHJX5 c4GBEM4NfMwoZt2BeB4nWAmLr35makCF5cK6R+wI/E4Zb7P1JmM5nnxNjpJEuh1JW8HQ qUMzXQqqb8Bz2yrFOMBza/O++APD1f0NYkhjOwYEnMdXnueNeENKL3l7sSFHkG6/Z0Ec S6C6/BlssC2NYF397j/z4eDjAKDy5Zyxgyf7jLfvqiREBPbqpXWJ/yMCyU3Vn6OTp3H0 +7qQ==
MIME-Version 1.0
In-Reply-To <CAKNT9cb5Qpp5q5oxn2-_WpY9THRK_e1a1MyYbOSxnPyHrTVBDA@mail.gmail.com>
References <12783654.1174.1331073814011.JavaMail.geo-discussion-forums@yner4> <dfbc4383-8a94-4907-a841-51e72226b0bd@o16g2000yqg.googlegroups.com> <CALwzidms6Kho4eiFzKDjQRW+4SSAwxsOm-E1Yx-AqB5PSpQybg@mail.gmail.com> <CAKNT9cb5Qpp5q5oxn2-_WpY9THRK_e1a1MyYbOSxnPyHrTVBDA@mail.gmail.com>
From Ian Kelly <ian.g.kelly@gmail.com>
Date Wed, 7 Mar 2012 14:34:59 -0700
Subject Re: What's the best way to write this regular expression?
To John Salerno <johnjsal@gmail.com>
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
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.491.1331156131.3037.python-list@python.org> (permalink)
Lines 13
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1331156131 news.xs4all.nl 6897 [2001:888:2000:d::a6]:36657
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:21351

Show key headers only | View raw


On Wed, Mar 7, 2012 at 2:11 PM, John Salerno <johnjsal@gmail.com> wrote:
> The only files included in the .tar.gz file is a .tar file of the same
> name. So I guess the setup option doesn't exist for these particular
> packages.

The setup.py file (as well as the other files) would be inside the
.tar file.  Unlike a Windows zip file, which does both archival and
compression, Unix files are typically archived and compressed in two
separate steps: "tar" denotes the archival format, and "gz" denotes
the compression format.  Some decompression programs are smart enough
to recognize the .tar file and automatically extract it when
decompressing.  Others require you to decompress the .gz and extract
the .tar separately -- it sounds like yours is one of the latter.

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


Thread

What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 14:43 -0800
  Re: What's the best way to write this regular expression? Chris Rebert <clp2@rebertia.com> - 2012-03-06 14:52 -0800
    Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:02 -0800
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:05 -0800
        Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:25 -0800
        Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:33 -0800
        Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:33 -0800
        Re: What's the best way to write this regular expression? Ian Kelly <ian.g.kelly@gmail.com> - 2012-03-06 16:35 -0700
        Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 17:39 -0600
        Re: What's the best way to write this regular expression? Terry Reedy <tjreedy@udel.edu> - 2012-03-06 20:04 -0500
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:05 -0800
        Re: What's the best way to write this regular expression? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-03-06 23:44 +0000
          Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:57 -0800
            RE: What's the best way to write this regular expression? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-07 00:04 +0000
            Re: What's the best way to write this regular expression? Terry Reedy <tjreedy@udel.edu> - 2012-03-06 20:06 -0500
    Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 15:02 -0800
  Re: What's the best way to write this regular expression? Roy Smith <roy@panix.com> - 2012-03-06 20:26 -0500
  Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-06 23:02 -0800
    Re: What's the best way to write this regular expression? Paul Rubin <no.email@nospam.invalid> - 2012-03-07 02:36 -0800
  Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-07 12:39 -0800
    Re: What's the best way to write this regular expression? Ian Kelly <ian.g.kelly@gmail.com> - 2012-03-07 14:01 -0700
    Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-07 15:11 -0600
      Re: What's the best way to write this regular expression? alex23 <wuwei23@gmail.com> - 2012-03-08 19:38 -0800
        Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-08 19:52 -0800
    Re: What's the best way to write this regular expression? Benjamin Kaplan <benjamin.kaplan@case.edu> - 2012-03-07 16:27 -0500
    RE: What's the best way to write this regular expression? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-07 21:31 +0000
    Re: What's the best way to write this regular expression? Ian Kelly <ian.g.kelly@gmail.com> - 2012-03-07 14:34 -0700
    Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-07 15:44 -0600
    Re: RE: What's the best way to write this regular expression? Evan Driscoll <driscoll@cs.wisc.edu> - 2012-03-07 16:02 -0600
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-07 23:26 -0800
    Re: What's the best way to write this regular expression? Chris Angelico <rosuav@gmail.com> - 2012-03-08 16:03 +1100
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-07 23:25 -0800
  Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-08 13:33 -0800
    Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-08 13:40 -0800
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-08 13:52 -0800
      Re: What's the best way to write this regular expression? John Gordon <gordon@panix.com> - 2012-03-08 21:54 +0000
      Re: What's the best way to write this regular expression? Dave Angel <d@davea.name> - 2012-03-08 17:19 -0500
      Re: What's the best way to write this regular expression? John Salerno <johnjsal@gmail.com> - 2012-03-08 16:25 -0600
      RE: What's the best way to write this regular expression? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-03-08 23:02 +0000
      Re: What's the best way to write this regular expression? Dave Angel <d@davea.name> - 2012-03-08 18:23 -0500
      Re: What's the best way to write this regular expression? Ethan Furman <ethan@stoneleaf.us> - 2012-03-08 14:52 -0800
        Re: What's the best way to write this regular expression? jkn <jkn_gg@nicorp.f9.co.uk> - 2012-03-09 02:45 -0800

csiph-web