Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #30054
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.008 |
| X-Spam-Evidence | '*H*': 0.98; '*S*': 0.00; 'python,': 0.02; 'interpreter': 0.04; 'python': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'combination,': 0.16; 'iirc': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'situation.': 0.16; 'summarizes': 0.16; 'unusable.': 0.16; 'string': 0.17; 'wrote:': 0.17; 'bit': 0.21; 'supposed': 0.21; 'aspect': 0.22; 'stopping': 0.22; 'this:': 0.23; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'wrote': 0.26; 'language.': 0.27; 'older': 0.27; 'header:X -Complaints-To:1': 0.28; '>>>>': 0.29; 'perl': 0.29; "i'm": 0.29; 'related': 0.30; 'code': 0.31; 'from:addr:yahoo.co.uk': 0.32; 'legacy': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'code:': 0.33; 'produced': 0.33; 'another': 0.33; 'something': 0.35; 'there': 0.35; 'received:org': 0.36; 'really': 0.36; 'but': 0.36; 'skip:{ 10': 0.36; 'should': 0.36; 'too': 0.36; 'unable': 0.36; 'previous': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'growing': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'release': 0.39; 'little': 0.39; 'header:Received:5': 0.40; 'you.': 0.61; 'first': 0.61; 'world': 0.63; 'times': 0.63; 'email addr:gmail.com': 0.63; 'more': 0.63; 'here': 0.65; 'learned': 0.65; 'subject:For': 0.75; 'topic,': 0.78; 'discovered': 0.83; 'illustrated': 0.84 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| To | python-list@python.org |
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
| Subject | Re: For Counter Variable |
| Date | Tue, 25 Sep 2012 10:46:18 +0100 |
| References | <10965867-a44f-4146-aea2-fd1a1e8f8e3b@googlegroups.com> <a73d266f-fc5c-415f-8793-0078ab2436e7@googlegroups.com> <5060DA00.10801@stoneleaf.us> <CA+vVgJWskC=YOQOX4egcup_9ZvbadOW8BOTuqT7ZTYYW9ev-2Q@mail.gmail.com> <CAN1F8qV2WDCXsmOPvuHsv0Ox-Q8kBnWbcZ2bf4RxFPpMfK9fNg@mail.gmail.com> <CA+vVgJXScfD3BfphCufeLzVnW_yeoCZaZBDN1Q0RMVUmxTYOYQ@mail.gmail.com> <mailman.1242.1348529944.27098.python-list@python.org> <k3rgtq$qtn$1@r03.glglgl.gl> <50616157$0$29997$c3e8da3$5496439d@news.astraweb.com> <mailman.1292.1348559933.27098.python-list@python.org> <46c1b87a-7407-4c7e-9aee-0fe44ae3b07a@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| X-Gmane-NNTP-Posting-Host | host-78-147-20-3.as13285.net |
| User-Agent | Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 |
| In-Reply-To | <46c1b87a-7407-4c7e-9aee-0fe44ae3b07a@googlegroups.com> |
| X-Antivirus | avast! (VPS 120924-1, 24/09/2012), Outbound message |
| X-Antivirus-Status | Clean |
| 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 | <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.1303.1348566306.27098.python-list@python.org> (permalink) |
| Lines | 52 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1348566306 news.xs4all.nl 6974 [2001:888:2000:d::a6]:59490 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:30054 |
Show key headers only | View raw
On 25/09/2012 10:32, wxjmfauth@gmail.com wrote:
> I wrote my first program on a PDP-8. I discovered Python
> at release 1.5.?
>
> Now years later... I find Python more and more unusable.
Dementia is a growing problem for us older people :)
>
> As an exemple related to this topic, which summarizes a
> little bit the situation. I just opened my interactive
> interpreter and produced this:
>
>>>> for i in range(len(s)-1, -1,-1):
> ... '{} {}'.format(i, s[i])
> ...
> '2 c'
> '1 b'
> '0 a'
>
> I did it so many times with a reverse/enumerate combination,
> I'm unable to do it again, I simply do not remember!
Based on things I've read as I've never used it myself try using Perl as
that should simplify things for you.
>
>
> One another really annoying aspect of Python, illustrated
> in my previous code: ''.format() .
> Was it not supposed to be *the* new formating scheme?
That might have been the original intention but it's not going to take
over the world as there's too much legacy code using the C style %
formatters. IIRC isn't there also something about string templates???
>
> I'm toying more and more with the go language. I really
> appreciate and rediscover the strictness I learned with
> Pascal.
So go and use go as nobody here is stopping you.
>
> jmf
>
--
Cheers.
Mark Lawrence.
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
For Counter Variable jimbo1qaz <jimmyli1528@gmail.com> - 2012-09-23 09:36 -0700
Re: For Counter Variable Rodrick Brown <rodrick.brown@gmail.com> - 2012-09-23 12:45 -0400
Re: For Counter Variable Chris Angelico <rosuav@gmail.com> - 2012-09-24 02:52 +1000
Re: For Counter Variable jimbo1qaz <jimmyli1528@gmail.com> - 2012-09-23 10:45 -0700
Re: For Counter Variable Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-23 22:54 +0000
Re: For Counter Variable Tim Chase <python.list@tim.thechases.com> - 2012-09-23 18:29 -0500
Re: For Counter Variable Tim Chase <python.list@tim.thechases.com> - 2012-09-23 19:05 -0500
Re: For Counter Variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-24 02:03 +0100
RE: For Counter Variable "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-09-27 17:34 +0000
Re: For Counter Variable Ethan Furman <ethan@stoneleaf.us> - 2012-09-24 15:09 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 18:26 -0400
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 18:58 -0400
Re: For Counter Variable alex23 <wuwei23@gmail.com> - 2012-09-24 16:33 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 19:49 -0400
Re: For Counter Variable alex23 <wuwei23@gmail.com> - 2012-09-24 16:58 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 20:17 -0400
Re: For Counter Variable alex23 <wuwei23@gmail.com> - 2012-09-24 17:19 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 20:25 -0400
Re: For Counter Variable "Littlefield, Tyler" <tyler@tysdomain.com> - 2012-09-24 18:32 -0600
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 20:45 -0400
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 20:50 -0400
Re: For Counter Variable Paul Rubin <no.email@nospam.invalid> - 2012-09-24 18:10 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 21:32 -0400
Re: For Counter Variable Chris Angelico <rosuav@gmail.com> - 2012-09-25 17:55 +1000
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 21:13 -0400
Re: For Counter Variable Ramchandra Apte <maniandram01@gmail.com> - 2012-09-29 06:41 -0700
Re: For Counter Variable Ramchandra Apte <maniandram01@gmail.com> - 2012-09-29 06:41 -0700
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 19:50 -0400
Re: For Counter Variable Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-24 19:39 -0400
Re: For Counter Variable alex23 <wuwei23@gmail.com> - 2012-09-24 16:48 -0700
Re: For Counter Variable Thomas Rachel <nutznetz-0c1b6768-bfa9-48d5-a470-7603bd3aa915@spamschutz.glglgl.de> - 2012-09-25 07:53 +0200
Re: For Counter Variable Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-25 07:46 +0000
Re: For Counter Variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-25 08:59 +0100
Re: For Counter Variable wxjmfauth@gmail.com - 2012-09-25 02:32 -0700
Re: For Counter Variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-25 10:46 +0100
Re: For Counter Variable Chris Rebert <clp2@rebertia.com> - 2012-09-25 02:53 -0700
Re: For Counter Variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-25 11:16 +0100
Re: For Counter Variable Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-09-25 14:19 +0000
Re: For Counter Variable Chris Angelico <rosuav@gmail.com> - 2012-09-26 00:38 +1000
Re: For Counter Variable Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-25 11:54 -0400
Re: For Counter Variable wxjmfauth@gmail.com - 2012-09-25 02:32 -0700
(non sequitur) Re: For Counter Variable Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-25 11:51 -0400
Re: For Counter Variable Tim Chase <python.list@tim.thechases.com> - 2012-09-25 05:57 -0500
Re: For Counter Variable Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-25 12:20 +0100
csiph-web