Python wart

Mark Lawrence breamoreboy at yahoo.co.uk
Thu Oct 31 21:45:08 EDT 2013


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




More information about the Python-list mailing list