.format vs. %
davidfx
dgeorge29ca at gmail.com
Sat Dec 31 13:44:08 EST 2011
More information about the Python-list mailing list
Sat Dec 31 13:44:08 EST 2011
- Previous message (by thread): .format vs. %
- Next message (by thread): .format vs. %
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Thanks for your response. I know the following code is not going to be correct but I want to show you what I was thinking. formatter = "%r %r %r %r" print formatter % (1, 2, 3, 4) What is the .format version of this concept?
- Previous message (by thread): .format vs. %
- Next message (by thread): .format vs. %
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list