Deutsch   English   Français   Italiano  
<insulting-20240411184338@ram.dialup.fu-berlin.de>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: ram@zedat.fu-berlin.de (Stefan Ram)
Newsgroups: comp.lang.python
Subject: Re: How to Add ANSI Color to User Response
Date: 11 Apr 2024 17:44:35 GMT
Organization: Stefan Ram
Lines: 18
Expires: 1 Feb 2025 11:59:58 GMT
Message-ID: <insulting-20240411184338@ram.dialup.fu-berlin.de>
References: <E07728FE-3599-462D-B572-107C5D53C72F@yahoo.com> <mailman.87.1712775067.3468.python-list@python.org> <color-20240411124637@ram.dialup.fu-berlin.de> <uv96a0$1oq7g$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de iPMLLxy9wC+aCLfH5CoEEQJb/iy9k13dIE41EnUvgklaLX
Cancel-Lock: sha1:+rN32gM/QzcH5YqalfJRUvWXK38= sha256:bzXEFtYZLaKiS5qHseoatMyjq9VGiJk/B6xnJpyF4EA=
X-Copyright: (C) Copyright 2024 Stefan Ram. All rights reserved.
	Distribution through any means other than regular usenet
	channels is forbidden. It is forbidden to publish this
	article in the Web, to change URIs of this article into links,
        and to transfer the body without this notice, but quotations
        of parts in other Usenet posts are allowed.
X-No-Archive: Yes
Archive: no
X-No-Archive-Readme: "X-No-Archive" is set, because this prevents some
	services to mirror the article in the web. But the article may
	be kept on a Usenet archive server with only NNTP access.
X-No-Html: yes
Content-Language: en-US
Bytes: 2579

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?