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


Groups > comp.lang.python > #10598 > unrolled thread

Re: Windows: setting title of console window

Started byEthan Furman <ethan@stoneleaf.us>
First post2011-07-30 12:05 -0700
Last post2011-07-30 12:05 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Windows: setting title of console window Ethan Furman <ethan@stoneleaf.us> - 2011-07-30 12:05 -0700

#10598 — Re: Windows: setting title of console window

FromEthan Furman <ethan@stoneleaf.us>
Date2011-07-30 12:05 -0700
SubjectRe: Windows: setting title of console window
Message-ID<mailman.1671.1312052785.1164.python-list@python.org>
Chris Angelico wrote:
> 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 :)

Ah -- I understand.

>> 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.

Yup -- I suspect sitecustomize is primarily intended for path 
manipulation and as such happens before a lot of other basic bootstrap 
stuff (like setting sys.argv).

~Ethan~






[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web