Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.019 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'mess': 0.07; 'ah,': 0.09; 'setup.py': 0.09; 'archival': 0.16; 'archive,': 0.16; 'compression': 0.16; 'denotes': 0.16; 'happens.': 0.16; 'received:209.85.161.174': 0.16; 'received:mail- gx0-f174.google.com': 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; 'maybe': 0.21; 'header:In-Reply-To:1': 0.22; 'thanks.': 0.24; 'extract': 0.24; 'format,': 0.24; 'windows': 0.26; 'cc:2**0': 0.26; 'stuff': 0.26; 'separate': 0.28; 'message- id:@mail.gmail.com': 0.29; 'cc:addr:python.org': 0.29; 'pm,': 0.29; 'host': 0.30; 'archived': 0.30; 'kelly': 0.30; 'separately': 0.30; 'tar': 0.30; "didn't": 0.30; '(as': 0.31; 'subject:?': 0.31; 'file.': 0.31; 'does': 0.32; 'typically': 0.32; 'there': 0.33; 'file': 0.34; 'realize': 0.34; 'received:209.85.161': 0.34; 'smart': 0.34; 'subject:What': 0.34; 'two': 0.36; 'run': 0.37; 'received:google.com': 0.37; "i'll": 0.38; 'received:209.85': 0.38; 'enough': 0.38; 'files': 0.39; 'format.': 0.39; 'received:209': 0.39; 'setup': 0.40; 'zip': 0.62; 'opened': 0.64; 'subject:best': 0.67; 'compressed': 0.68; 'subject:this': 0.74; 'decompress': 0.77; 'compression,': 0.84; 'inside.': 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:content-transfer-encoding; bh=sBW8OMXye/aCFRO9KGt4hMoA7kD+MEeIO0DYt5ayBEo=; b=QFv/g5sKgejjl1D9ErbgaLsZvYZb4D/tweurknRAoZTMVYqHZZ/lYYqtTAHeN34soh ouZU6e059NeRsTds03t2pR1/xQoyX0X1On6UbU3312xRXnVej7CHYbAWAV3ZHIZSXYtw iZDZRdAIhuKyFgzxJxF5by/VLKuLRhR4opBT/t7icbJB+ukhbmNCImYlW0ZnZEHPQS1o MHzHjXXjSaff4/QQ8jJsT1xvtxDezHJg9G54MuIrsbC67bbYxlm/okLhtcSppp9CjpFp 4ZshMYzbPej/5eE+at3YzC4xiR+VP8Q1U5vGRSUEAXZjvTvjGLM5mFCp709U7hQoZs/E mAHw== MIME-Version: 1.0 In-Reply-To: References: <12783654.1174.1331073814011.JavaMail.geo-discussion-forums@yner4> From: John Salerno Date: Wed, 7 Mar 2012 15:44:28 -0600 Subject: Re: What's the best way to write this regular expression? To: Ian Kelly Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1331156691 news.xs4all.nl 6846 [2001:888:2000:d::a6]:43771 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:21352 On Wed, Mar 7, 2012 at 3:34 PM, Ian Kelly wrote: > The setup.py file (as well as the other files) would be inside the > .tar file. =A0Unlike 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. =A0Some decompression programs are smart enough > to recognize the .tar file and automatically extract it when > decompressing. =A0Others require you to decompress the .gz and extract > the .tar separately -- it sounds like yours is one of the latter. Ah, I see now. After opening the gz file, there was a tar file inside, and then I just opened that file (I use 7zip for these types) and there was a whole host of stuff inside. I didn't realize the tar file itself was an archive, I thought it was the module! ::blush:: Maybe I don't need to mess with the "distribute" utility then, if I can just run the setup file. I'll try that first and see what happens. Thanks.