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


Groups > comp.lang.python > #58231 > unrolled thread

Re: Python wart

Started byMark Lawrence <breamoreboy@yahoo.co.uk>
First post2013-11-01 02:56 +0000
Last post2013-11-01 02:56 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python wart Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-11-01 02:56 +0000

#58231 — Re: Python wart

FromMark Lawrence <breamoreboy@yahoo.co.uk>
Date2013-11-01 02:56 +0000
SubjectRe: Python wart
Message-ID<mailman.1904.1383274601.18130.python-list@python.org>
On 01/11/2013 02:41, Michael Torrie wrote:
> On 10/31/2013 07:45 PM, Mark Lawrence wrote:
>> Quite often I type this
>>
>> print('Total of accounts %.2f', total)
>>
>> when I meant to type this
>>
>> print('Total of accounts %.2f' % total)
>>
>> Do I have to raise a PEP to get this stupid language changed so that it
>> dynamically recognises what I want it to do and acts accordingly?
>>
>> Yours most frustratedly.
>
> This is one reason I've started using the new string formatting method
> in all my new code.
>

I'll admit to being a lazy, bone idle git and not wanting to change my 
code as a former C programmer, but that strikes me as a cunning plan, 
thanks.  Now where's my Windows desktop shortcut to the Python compiled 
help file? :)

-- 
Python is the second best programming language in the world.
But the best has yet to be invented.  Christian Tismer

Mark Lawrence

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web