ANSI colored output: How to determine how python was called?
Donn Cave
donn at u.washington.edu
Tue May 21 16:39:58 EDT 2002
Quoth Pearu Peterson <pearu at cens.ioc.ee>:
...
| That's the reason why I ended up with using curses.wrapper that returns
| with properly restoring the current terminal.
I should also mention that curses isn't a very well standardized
interface, so the curses module isn't as portable as the rest of
Python. A solution that doesn't require curses at all will run
on more platforms.
Donn Cave, donn at u.washington.edu
More information about the Python-list
mailing list