Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'cool.': 0.09; 'subject:setting': 0.09; 'wrote:': 0.15; 'explanation': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'such.': 0.16; 'there...': 0.16; 'pm,': 0.16; 'received:74.125.82.44': 0.19; 'received:mail-ww0-f44.google.com': 0.19; 'subject:Windows': 0.19; 'modify': 0.22; 'primarily': 0.22; 'header:In-Reply-To:1': 0.22; 'assume': 0.23; 'later': 0.26; 'random': 0.28; 'sat,': 0.28; 'bit': 0.28; 'message- id:@mail.gmail.com': 0.28; "didn't": 0.29; 'object': 0.30; 'yet': 0.30; 'tend': 0.32; 'does': 0.32; 'to:addr:python-list': 0.34; 'then.': 0.35; 'received:google.com': 0.38; 'subject:: ': 0.38; 'posts': 0.38; 'something': 0.38; 'else': 0.38; 'received:74.125.82': 0.39; 'to:addr:python.org': 0.39; 'received:74.125': 0.40; 'your': 0.60; 'link': 0.63; '30,': 0.74; 'clicking': 0.83 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=rMm2s9mUaZnBiiApQ+hqlvPVCvgCs6ToZWue3EkSjg0=; b=g+a+jCpL+EUoIc66zgSdX5YigR3CkxrUzvPE8kgqX8ET8+QIqQz4SNI1FmY3z2Jy03 6rlGeBEoGlzFQWSXrhlSp3ywO52JmWqGtUQOLb7uKGhVy8i61ZDc6962QQTfy9z9hgm6 t6j1tZxFkzAIT7t1BTKuf2Re36p69lCJT02nY= MIME-Version: 1.0 In-Reply-To: <4E344FCB.7030801@stoneleaf.us> References: <4E343E1C.90807@stoneleaf.us> <4E344FCB.7030801@stoneleaf.us> Date: Sat, 30 Jul 2011 19:55:59 +0100 Subject: Re: Windows: setting title of console window From: Chris Angelico To: python-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 13 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1312052161 news.xs4all.nl 23964 [2001:888:2000:d::a6]:43243 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:10597 On Sat, Jul 30, 2011 at 7:39 PM, Ethan Furman 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