Georg Brandl added the comment:

I think you're using the escapes correctly: you must only escape nonprinting 
characters. Try

>>> sys.ps1 = '\x01\033[32m\x02>>> \x01\033[0m\x02'

----------
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20359>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to