Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.014 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'subject:not': 0.03; '"""': 0.07; 'automate': 0.07; 'scripting': 0.09; 'uses.': 0.09; 'subject:How': 0.10; 'windows': 0.15; '>>on': 0.16; 'changed;': 0.16; 'command-line': 0.16; 'executed.': 0.16; 'golden': 0.16; 'no...': 0.16; 'targets': 0.16; 'language': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'command': 0.22; 'settings': 0.22; '>>>': 0.22; 'shell': 0.22; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'tim': 0.29; 'especially': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '+0100,': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'anyone': 0.31; 'run': 0.32; 'but': 0.35; 'received:google.com': 0.35; 'doubt': 0.36; 'skip:> 10': 0.36; 'operating': 0.37; 'to:addr:python-list': 0.38; 'files': 0.38; 'pm,': 0.38; 'rather': 0.38; 'use.': 0.39; 'to:addr:python.org': 0.39; 'users': 0.40; 'according': 0.40; 'even': 0.60; 'helps': 0.61; "you'll": 0.62; 'myself': 0.63; 'more': 0.64; 'prompt': 0.68; 'default': 0.69; 'jul': 0.74; 'power': 0.76; '..net': 0.84; 'subject:tell': 0.84; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=ArkyyjCDw/JTx0/KHDm69vh/VdK1WpclIwq3Ttwl948=; b=kbX3HGXUpILZStHxpkPejZw2mDadseKNKgxkPU9gjunperMRSPCgs0+r7xewlcv+Dm eYmq8cChG2YGDDIlhWoCbh5JbVDga1Ya0bNPHnv0z4QYT0LVhOau6BHW+Xg5ZamUezfN Iag4nJOF5gJqG3Gbc6ufbYbUzq2FRxWLaqQi8vr0VZj3GeboJr4sVK9fzK8aI/89TDDg zXdSkD4EkdP7MvzkW+97fFQtU4ocyKO4Exz12+7Hh+yorintxh7E0d2+j+FgzVZiBC3I FAOFOyu48F6kasnMDtzUo78EU11CXwdkgew6jT/af+IcHRnrPJo31eyMZhQp4CRcvZ1O PrUQ== X-Received: by 10.66.178.174 with SMTP id cz14mr4530570pac.136.1372894592849; Wed, 03 Jul 2013 16:36:32 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <2t79t81lbf5v8aeleicalff2q167e1v849@4ax.com> References: <51D37F8A.3010905@gmail.com> <51D3D415.5060802@timgolden.me.uk> <51D3E091.6020706@gmail.com> <51D3E5F9.6010008@timgolden.me.uk> <20130703075046.2f0737de@bigbox.christie.dr> <51d424de$0$9505$c3e8da3$5496439d@news.astraweb.com> <2t79t81lbf5v8aeleicalff2q167e1v849@4ax.com> From: Ian Kelly Date: Wed, 3 Jul 2013 17:35:52 -0600 Subject: Re: DOS or not? [was Re: How to tell Script to use pythonw.exe ?] To: Python Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372894603 news.xs4all.nl 15880 [2001:888:2000:d::a6]:52810 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49786 On Wed, Jul 3, 2013 at 4:11 PM, Dennis Lee Bieber w= rote: > On 03 Jul 2013 13:19:26 GMT, Steven D'Aprano > declaimed the following: > >>On Wed, 03 Jul 2013 14:00:49 +0100, Tim Golden wrote: >> >>> Goodness, I doubt if you'll find anyone who can seriously make a case >>> that the Windows command prompt is all it might be. I'm not a Powershel= l >>> user myself but people speak highly of it. >> >>I understand that Powershell is aimed more for batch use rather than >>interactive use. > > In one respect: no... > > Consider that the Powershell default is to /prevent/ execution of > script files unless some security settings have been changed; even local > script files need to be "signed" to be executed. IOW, it's aimed at *secure* batch use for paranoid sysadmins. According to microsoft.com: """ Windows PowerShell=AE is a task-based command-line shell and scripting language designed especially for system administration. Built on the .NET Framework, Windows PowerShell=AE helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows. """ Which would seem to indicate that it targets both interactive and scripting uses.