Here's the default behavior: In [21]: 255 Out[21]: 255 And here's what I would like: In [21]: 255 Out[21]: FF Can I setup ipython to do that? Continue reading...