Setting the Title of the script window

Xnedra xnedra at aa-ha.com
Wed Apr 23 06:19:36 EDT 2003


Hi there,

is there a possibility to set the title of the window the python
script was started in?
I know it is possible with dos with these lines:

if os.name == "nt":
  cmdline = 'TITLE TestTitle'
  os.system(cmdline)

but i would like to set it independent of the operating system. Is
there a python command for this or does anyone know the corresponding
commandline for unix?

Thanks a lot,
              Katrin / Xnedra




More information about the Python-list mailing list