Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!selfless.tophat.at!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.030 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'fred': 0.09; 'received :mail-bw0-f46.google.com': 0.09; 'pm,': 0.10; 'output': 0.11; 'am,': 0.14; 'wrote:': 0.14; 'phillips': 0.16; 'received:209.85.214.46': 0.16; 'slightly': 0.19; 'header:In- Reply-To:1': 0.21; 'fri,': 0.23; 'subject:Question': 0.25; 'changed': 0.25; 'message-id:@mail.gmail.com': 0.28; 'received:209.85.214': 0.28; 'to:addr:python-list': 0.33; 'received:google.com': 0.37; 'received:209.85': 0.37; 'subject:: ': 0.38; 'received:209': 0.39; 'to:addr:python.org': 0.39; 'subject:About': 0.68; 'realized': 0.73; 'subject:line': 0.73; 'dennis': 0.77; '11:58': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=pCufqTDO3JEz+5EYIppaxaTESl33+8W7A/3Eaeg7UhQ=; b=j7hM2oXzF+0u9EWzF2rcFkhQn809ZlrkBSsNrBYy04f2Y8RaLSDfTr5HGBAA+aiCCe hIUhl9GBPEgvW2xQgTmYp/0H6SORtEtNaLv+uI9+8+RVqSsKsrE9uYjGAI0q24YYIrri gfViXKcWpo9T1iSJr5Qkog3EZfHBNAwwAbm9s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Q/9l4KXoE/2Fgk1nCi0esI0wVt/qBaaj8SzwzelnOaLg9Cea97MsLJ36vV/NKdKhIo k1QOGoCF6XoCjcYFBZhrdd/GT4Kw4819hyN/uHDOvlwqItjKeymnDMK0ivNtTj3yIkbM M/Qiu1chXSmhtEhJ8+bJmgooDec7c+sGOcbwQ= MIME-Version: 1.0 In-Reply-To: References: <4DF25738.2020704@mrabarnett.plus.com> Date: Fri, 10 Jun 2011 13:35:20 -0700 Subject: Re: Question About Command line arguments From: Dennis To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 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: 10 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1307738123 news.xs4all.nl 49179 [::ffff:82.94.164.166]:39307 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:7401 On Fri, Jun 10, 2011 at 1:33 PM, Dennis wrote: > On Fri, Jun 10, 2011 at 11:58 AM, Mark Phillips > fred > > ['alice'] > fred Just realized the if/else will have to be changed slightly if we want to output both argv and stdin.