Windows: setting title of console window

Chris Angelico rosuav at gmail.com
Sat Jul 30 14:55:59 EDT 2011


On Sat, Jul 30, 2011 at 7:39 PM, Ethan Furman <ethan at 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



More information about the Python-list mailing list