Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #65932
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <larry.martell@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.086 |
| X-Spam-Evidence | '*H*': 0.83; '*S*': 0.00; 'variable,': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'subject:variable': 0.16; 'wrote:': 0.18; 'command': 0.22; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'print': 0.22; 'cc:2**0': 0.24; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'message- id:@mail.gmail.com': 0.30; "i'd": 0.34; 'could': 0.34; 'received:google.com': 0.35; 'google': 0.35; 'example,': 0.37; 'how': 0.40; '8bit%:29': 0.60; 'numbers': 0.61; 'simple': 0.61; 'sum': 0.64; 'to:addr:gmail.com': 0.65; 'equals': 0.68; '2014,': 0.84 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KsPan8FKIjloqZvksGabTPQT7ygRygPoC50fI3+b25U=; b=D9IPHjzOM1vDIXoSNDuex4qimoBro035zoocVZgDsrMMw9AxeBFeUdVhReHrWDHoJY Jv1dT//RsGX+pJw4lKxaA3QD5kwlhmH8fcdGT++gC/WSROULb/q3HmE86dLw7yKIiIsg FjoLDowDwYgFNcGHL3WZ2tgTBDG3kyHbPDGAw0McR2yFlBthymuZKVY8zCfB61RvI/0X nJS5vaDMXu9O4SJjUruA1w9VgOqmXnLnwLBD9iABFQI0QhKcxCzkacvbBQprHI3CsQvu 8R3kzQPwkbvPiXyVlyUZ3MTxcH7Bp2GkDQ3f/RuLdTepBZOjDI0eGP707BWNLEraiJgh WA9Q== |
| MIME-Version | 1.0 |
| X-Received | by 10.180.93.133 with SMTP id cu5mr15662091wib.32.1392140649527; Tue, 11 Feb 2014 09:44:09 -0800 (PST) |
| In-Reply-To | <baffb663-4f6d-4580-ac5d-d99b4aaf3c40@googlegroups.com> |
| References | <baffb663-4f6d-4580-ac5d-d99b4aaf3c40@googlegroups.com> |
| Date | Tue, 11 Feb 2014 12:44:09 -0500 |
| Subject | Re: Flag control variable |
| From | Larry Martell <larry.martell@gmail.com> |
| To | "luke.geelen@gmail.com" <luke.geelen@gmail.com> |
| Content-Type | multipart/alternative; boundary=f46d04389045e49c6804f22500d7 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.6686.1392140651.18130.python-list@python.org> (permalink) |
| Lines | 40 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1392140651 news.xs4all.nl 2925 [2001:888:2000:d::a6]:44707 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:65932 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Tuesday, February 11, 2014, <luke.geelen@gmail.com> wrote: > hello, > i'd like to know how to set up a flag to change a variable, > for example, i want a simple script to combine 2 numbers, > > > sum = num + another_num > print "Now the sum of the numbers equals : ", sum > > how could i make it so that if i type python ./script.py 21 41 > that i get the sum of 21 and 41 ? > > Google for python command line arguments.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Flag control variable luke.geelen@gmail.com - 2014-02-11 09:29 -0800
Re: Flag control variable Larry Martell <larry.martell@gmail.com> - 2014-02-11 12:44 -0500
Re: Flag control variable Peter Otten <__peter__@web.de> - 2014-02-11 18:46 +0100
Re: Flag control variable luke.geelen@gmail.com - 2014-02-11 10:00 -0800
Re: Flag control variable luke.geelen@gmail.com - 2014-02-11 10:16 -0800
Re: Flag control variable Tim Chase <python.list@tim.thechases.com> - 2014-02-11 12:32 -0600
Re: Flag control variable luke.geelen@gmail.com - 2014-02-11 10:37 -0800
Re: Flag control variable Tim Chase <python.list@tim.thechases.com> - 2014-02-11 12:51 -0600
Re: Flag control variable Peter Otten <__peter__@web.de> - 2014-02-11 19:51 +0100
Re: Flag control variable luke.geelen@gmail.com - 2014-02-11 11:01 -0800
Re: Flag control variable luke.geelen@gmail.com - 2014-02-11 11:06 -0800
Re: Flag control variable Gary Herron <gary.herron@islandtraining.com> - 2014-02-11 11:26 -0800
Re: Flag control variable Tim Chase <python.list@tim.thechases.com> - 2014-02-11 13:28 -0600
Re: Flag control variable luke.geelen@gmail.com - 2014-02-11 11:54 -0800
Re: Flag control variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-11 20:02 +0000
Re: Flag control variable Jussi Piitulainen <jpiitula@ling.helsinki.fi> - 2014-02-11 21:14 +0200
Re: Flag control variable Gary Herron <gary.herron@islandtraining.com> - 2014-02-11 11:20 -0800
Re: Flag control variable Gary Herron <gary.herron@islandtraining.com> - 2014-02-11 10:55 -0800
Re: Flag control variable luke.geelen@gmail.com - 2014-02-11 10:59 -0800
Re: Flag control variable Gary Herron <gary.herron@islandtraining.com> - 2014-02-11 11:09 -0800
Re: Flag control variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-11 19:08 +0000
Re: Flag control variable luke.geelen@gmail.com - 2014-02-11 11:55 -0800
Re: Flag control variable Gary Herron <gary.herron@islandtraining.com> - 2014-02-11 12:19 -0800
Re: Flag control variable luke.geelen@gmail.com - 2014-02-11 13:18 -0800
Re: Flag control variable Gary Herron <gary.herron@islandtraining.com> - 2014-02-11 15:47 -0800
Re: Flag control variable luke.geelen@gmail.com - 2014-02-11 21:09 -0800
Re: Flag control variable Dave Angel <davea@davea.name> - 2014-02-12 00:23 -0500
Re: Flag control variable luke.geelen@gmail.com - 2014-02-12 07:32 -0800
Re: Flag control variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-02-12 15:42 +0000
Re: Flag control variable Dave Angel <davea@davea.name> - 2014-02-12 13:51 -0500
Re: Flag control variable Alain Ketterlin <alain@dpt-info.u-strasbg.fr> - 2014-02-12 17:10 +0100
Re: Flag control variable luke.geelen@gmail.com - 2014-02-12 09:15 -0800
Re: Flag control variable Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2014-02-12 20:46 -0500
csiph-web