sprintf behaviour
Grant Edwards
grante at visi.com
Sat Feb 22 18:44:59 EST 2003
More information about the Python-list mailing list
Sat Feb 22 18:44:59 EST 2003
- Previous message (by thread): sprintf behaviour
- Next message (by thread): sprintf behaviour
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In article <hcsptpk5l8t.fsf at tjatte.nada.kth.se>, Björn Lindberg wrote: > "Andrew Wilkinson" <ajw126NO at SPAMyork.ac.uk> writes: > >> >>> print "-- %2$s -- %1$s --" % ('a', 'b') >> >> Python isn't C you know! You can't simply copy things from C to Python and >> expect them to work. > > I know, but the tutorial says something to the effect that most C > format modifiers are supported in Python. Right. And there's a reason that the word "most" was used instead of "all": some of them are, in fact, not supported, and you've found one of them. :) -- Grant Edwards grante Yow! I think I'll do BOTH at if I can get RESIDUALS!! visi.com
- Previous message (by thread): sprintf behaviour
- Next message (by thread): sprintf behaviour
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list