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


Groups > comp.lang.python > #58224

Python wart

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Python wart
Date 2013-11-01 01:45 +0000
Newsgroups comp.lang.python
Message-ID <mailman.1897.1383270315.18130.python-list@python.org> (permalink)

Show all headers | View raw


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.

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

Mark Lawrence

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


Thread

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

csiph-web