Are you looking for : >>> x=10 >>> hex(x) '0xa' >>> x=10.5 >>> float.hex(x) '0x1.5000000000000p+3'
On Tue, Jun 19, 2012 at 9:53 PM, Edward C. Jones <edcjo...@comcast.net>wrote: > hexadecimal -- *'I am what I am because of who we all are'* h3manth.com <http://www.h3manth.com> *-- Hemanth HM *
-- http://mail.python.org/mailman/listinfo/python-list