[Python] How can I configure ipython to display integers in hex format?

Discussão em 'Python' iniciado por Stack, Novembro 25, 2025.

  1. Stack

    Stack Membro Participativo

    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...

Compartilhe esta Página