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


Groups > comp.lang.python > #7401

Re: Question About Command line arguments

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 <daodennis@gmail.com>
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 <BANLkTim4zxtFxCkMkCk0FLbK7NFcoCViwA@mail.gmail.com>
References <BANLkTi==QHd+5C=xf+2Re1Mh4V6Hk972hg@mail.gmail.com> <4DF25738.2020704@mrabarnett.plus.com> <BANLkTimHfZK=FsbSs4BOX8dU=mt2bVGV9A@mail.gmail.com> <BANLkTikOzwCNMtzP2gDtbhZF-cRDqpybCQ@mail.gmail.com> <BANLkTimpTzYKLZzXAasZb52vs5sYq7Ai9A@mail.gmail.com> <BANLkTim4zxtFxCkMkCk0FLbK7NFcoCViwA@mail.gmail.com>
Date Fri, 10 Jun 2011 13:35:20 -0700
Subject Re: Question About Command line arguments
From Dennis <daodennis@gmail.com>
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 <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.107.1307738122.11593.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Fri, Jun 10, 2011 at 1:33 PM, Dennis <daodennis@gmail.com> 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.

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


Thread

Re: Question About Command line arguments Dennis <daodennis@gmail.com> - 2011-06-10 13:35 -0700

csiph-web