Consider the following line in C: printf('%a\n', x);where x is a float or double. This outputs a hexadecimal representation of x. Can I do this in Python?
-- http://mail.python.org/mailman/listinfo/python-list
Consider the following line in C: printf('%a\n', x);where x is a float or double. This outputs a hexadecimal representation of x. Can I do this in Python?
-- http://mail.python.org/mailman/listinfo/python-list