Python style questions

D-Man dsh8290 at
Sat Mar 17 00:41:45 CET 2001

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


More information about the Python-list mailing list