Oct. 10, 2009
4:06 p.m.
Glenn Linderman wrote:
If you want to replace a C program that produces parsed output in a given format, and that given format includes leading-0-octal numbers, then it would be good to have the capability in Python .format, even though Python itself uses 0o prefix.
Similar arguments may apply anywhere else that sprintf produces something that .format cannot currently produce.
Heh, I should have read this before making my last comment - this is exactly what I was trying to get at :) Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia ---------------------------------------------------------------