[Python] Why the termcolor doesn't work either the terminal supports coloring?

Discussão em 'Python' iniciado por Stack, Abril 27, 2025.

  1. Stack

    Stack Membro Participativo

    When I run the following script,

    import termcolor

    termcolor.cprint("hello world", "green")


    it just prints the text hello world uncolored. My terminal is powershell 7 and supports coloring.

    Continue reading...

Compartilhe esta Página