[Tutor] How does formatted printing work?

Mark Lawrence breamoreboy at yahoo.co.uk
Sat Jun 8 18:35:13 CEST 2013


On 08/06/2013 16:58, Michael Sparks wrote:
> You can explain it yourself or just drop me a link (or both).
> Right now I'm learning Python 2.x but I plan on learning Python 3.x as well.
>

Try 
http://docs.python.org/3/library/stdtypes.html#printf-style-string-formatting 
or http://docs.python.org/3/library/string.html#formatstrings for starters.

-- 
"Steve is going for the pink ball - and for those of you who are 
watching in black and white, the pink is next to the green." Snooker 
commentator 'Whispering' Ted Lowe.

Mark Lawrence



More information about the Tutor mailing list