I need to take floats and dump out their 4 byte hex representation. This is easy with ints with the built in hex function or even better for my purpose
def hex( number, size ): s = "%"+str(size) + "X" return (s % number).replace(' ', '0') but I haven't been able to find anything for floats. Any help would be great. -- http://mail.python.org/mailman/listinfo/python-list