Re: How to Add ANSI Color to User Response

Liste des GroupesRevenir à cl python 
Sujet : Re: How to Add ANSI Color to User Response
De : ram (at) *nospam* zedat.fu-berlin.de (Stefan Ram)
Groupes : comp.lang.python
Date : 11. Apr 2024, 18:44:35
Autres entêtes
Organisation : Stefan Ram
Message-ID : <insulting-20240411184338@ram.dialup.fu-berlin.de>
References : 1 2 3 4
rthiebaud <geodandw@aol.com> wrote or quoted:
On 4/11/24 07:47, Stefan Ram wrote:
WordWeaver Evangelist <billkochman777@gmail.com> wrote or quoted:
Is there a way to add an ANSI color code to the end where the
conditions are, so that the color of the user's input is of a
color of my choosing, instead of just white?
Now sonny, I ain't gonna give you a straight answer to your question,
but let me tell you what I know. You Windows users out there would
do well to look into that there "colorama" Python module! It'll help
you cook up them fancy ANSI escape sequences to get some color goin'
on in your Windows command prompt (or maybe even cross-platform).
Now, I can't rightly say if that's still needed these days or
if the new-fangled consoles even require it anymore. But if
you're hankerin' to add a little pizzazz to your text, that
colorama gizmo might just do the trick.
This answer seems rather insulting.

  Could you explain how exactly you came to this conclusion?

Date Sujet#  Auteur
10 Apr 24 * How to Add ANSI Color to User Response6WordWeaver Evangelist
11 Apr 24 `* Re: How to Add ANSI Color to User Response5Stefan Ram
11 Apr 24  `* Re: How to Add ANSI Color to User Response4rthiebaud
11 Apr 24   +* Re: How to Add ANSI Color to User Response2Stefan Ram
15 Apr 24   i`- Re: How to Add ANSI Color to User Response1Stefan Ram
12 Apr 24   `- Re: How to Add ANSI Color to User Response (Posting On Python-List Prohibited)1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal