Python style questions

Fredrik Lundh fredrik at pythonware.com
Fri Mar 16 12:40:23 EST 2001


"D-Man" <dsh8290 at rit.edu> wrote:
> Curiosly enough, print's format string is supposed to be identical to
> C's printf format string.  However the man page for printf says the %x
> prints 0x then the number using A-F for 10-15.

better check that page again; printf should add 0x only if you
use the # flag.

Cheers /F





More information about the Python-list mailing list