Python style questions

D-Man dsh8290 at rit.edu
Fri Mar 16 18:41:45 EST 2001


On Fri, Mar 16, 2001 at 05:40:23PM +0000, Fredrik Lundh wrote:
| "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.

I missed that before.  Thanks.  (It's a pretty long page, and I only
wanted 1 piece of information ..., should always read carefully :-))

-D





More information about the Python-list mailing list