python dec to hex without 0x code example Example: int to hex python without 0x >>> format(3735928559, 'x') 'deadbeef'