[Python-ideas] Add \e escape code
Alexander Belopolsky
alexander.belopolsky at gmail.com
Tue Jun 11 23:28:20 CEST 2013
When I sent my +1, I was under impression that \e was standardized by
POSIX. (I only checked man printf.) It turns out, <
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap05.html#tagtcjh_2>,
that \e is not on the list. While I wish I could copy my bash ANSI
coloring codes directly into python, I can live with the available
alternatives. Consider me +0.
On Tue, Jun 11, 2013 at 2:12 PM, Alexander Belopolsky <
alexander.belopolsky at gmail.com> wrote:
>
> On Tue, Jun 11, 2013 at 1:10 PM, Steven D'Aprano <steve at pearwood.info>wrote:
>
>>
>> I use it often enough to miss having \e, but not often enough to remember
>> what the hex or octal code for ESC is.
>
>
> +1
>
> ANSI colors at the shell prompt are getting popular again these days.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130611/a2d6b8d9/attachment.html>
More information about the Python-ideas
mailing list