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 : 15. Apr 2024, 17:50:53
Autres entêtes
Organisation : Stefan Ram
Message-ID : <older-20240415164851@ram.dialup.fu-berlin.de>
References : 1 2 3 4 5
ram@zedat.fu-berlin.de (Stefan Ram) wrote or quoted:
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?

  I'm currently tinkering with different ways to express myself
  in English. In my last attempt, I tried to come across like
  an older person. I didn't mean to offend anyone, but going
  forward I'll do my darndest to steer clear of anything that
  could be perceived as an insult, as far as I can reckon.

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