I'm doing a bunch of work in the Python console, and most of it is referring to addresses, which I'd prefer to see in hex.
So if a = 0xBADF00D
, when I simply enter Python> a
into the console to view its value, I'd prefer python to reply with 0xBADF00D
instead of 195948557
.
I know I can enter '0x%X' % a
to see it in hex, but I'm looking for some sort of python console option to have it do this automatically. Does something liket this exist? Thanks!