Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #10598
| Date | 2011-07-30 12:05 -0700 |
|---|---|
| From | Ethan Furman <ethan@stoneleaf.us> |
| Subject | 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> <CAPTjJmp-vqh05qBa3NvNOufDQ-vunMQCN7vZ1iYX0jfqsxv9Ng@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1671.1312052785.1164.python-list@python.org> (permalink) |
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~
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Windows: setting title of console window Ethan Furman <ethan@stoneleaf.us> - 2011-07-30 12:05 -0700
csiph-web