hexidecimal output as default?

mkrisch at netscape.net mkrisch at netscape.net
Mon Jul 17 23:11:08 EDT 2000


how can i make it so the interpreter defaults to hexidecimal output?

what i mean is the following:

>>> i = 0xa
>>> print i
10
>>> i
10

what i really want is to get the following:

>>> i = 0xa
>>> i
0xa

--mk


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list