Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #10597

Re: Windows: setting title of console window

References <4E343E1C.90807@stoneleaf.us> <CAPTjJmr3WUGRAEeqjt+oB5cs+KKD5+U9ahgru4r-+S+2T03vSw@mail.gmail.com> <4E344FCB.7030801@stoneleaf.us>
Date 2011-07-30 19:55 +0100
Subject Re: Windows: setting title of console window
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1670.1312052161.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Sat, Jul 30, 2011 at 7:39 PM, Ethan Furman <ethan@stoneleaf.us> wrote:
> Well, you /could/ have followed the link and read the explanation there...
> ;)

I tend to avoid clicking random links in posts :)

> How it works: since the sys.argv object does yet exist...

That's the bit I didn't understand. I assume that's just the way it
is, then. Your cool trick is primarily because something else will
later modify sys.argv... and as such. it is indeed very cool.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Windows: setting title of console window Chris Angelico <rosuav@gmail.com> - 2011-07-30 19:55 +0100

csiph-web