Changing the terminal title bar with Python
Tim Roberts
timr at probo.com
Sat Oct 19 19:31:03 EDT 2013
Steven D'Aprano <steve+comp.lang.python at pearwood.info> wrote:
>
>You might find this useful, or just for fun, but on POSIX systems (Linux,
>Unix, Apple Mac, but not Windows) you can change the title of the
>terminal window from Python.
Just for completeness, this is also possible in Windows, assuming you have
installed py32win, which virtually every Windows Python user does:
import win32console
win32console.SetConsoleTitle(msg)
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list