[Tutor] What are these two string-formatting styles called?

Dotan Cohen dotancohen at gmail.com
Sun Jun 16 07:41:30 CEST 2013


On Sat, Jun 15, 2013 at 2:41 PM, Steven D'Aprano <steve at pearwood.info> wrote:
> On 15/06/13 20:18, Dotan Cohen wrote:
>>
> "I prefer % formatting over str.format method."
>
> "I prefer percent-formatting over brace-formatting."
>
> "I prefer C-style string formatting over the newer string format method."
>

Thank you Steven, that is exactly what I was after!

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com


More information about the Tutor mailing list