get a list printed in hexadecimal notation
Oliver Eichler
oliver.eichler at dspsolutions.de
Thu Jul 18 03:39:56 EDT 2002
Another tip I received from Harvey Thomas & François Pinard:
print [isinstance(x,int) and hex(x) or x for x in l]
Oliver
More information about the Python-list
mailing list