Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!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.005 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:not': 0.03; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'weeks,': 0.09; 'subject:How': 0.10; 'api': 0.11; 'windows': 0.15; '>on': 0.16; 'changed;': 0.16; 'executed.': 0.16; 'golden': 0.16; 'message- id:@4ax.com': 0.16; 'no...': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'variations': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'work,': 0.20; 'command': 0.22; 'settings': 0.22; 'documented': 0.24; 'url:home': 0.24; "i've": 0.25; 'script': 0.25; 'skip:" 20': 0.27; 'header:X-Complaints-To:1': 0.27; 'tim': 0.29; "i'm": 0.30; '+0100,': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'trace': 0.31; 'anyone': 0.31; 'but': 0.35; 'doubt': 0.36; 'charset:us-ascii': 0.36; 'level': 0.37; 'to:addr :python-list': 0.38; 'files': 0.38; 'rather': 0.38; 'use.': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'ensure': 0.60; 'even': 0.60; "you'll": 0.62; 'myself': 0.63; 'more': 0.64; 'prompt': 0.68; 'default': 0.69; 'jul': 0.74; 'day': 0.76; 'subject:tell': 0.84; 'received:108': 0.93; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: DOS or not? [was Re: How to tell Script to use pythonw.exe ?] Date: Wed, 03 Jul 2013 18:11:13 -0400 Organization: IISS Elusive Unicorn 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-218-115.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES 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: 33 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372889488 news.xs4all.nl 15942 [2001:888:2000:d::a6]:38203 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49777 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 Powershell >> 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. Powershell is mainly aimed at system administration. I've spent weeks, at work, where 90% of my day involved variations of a command like: Get-ChildItem -Recurse -Filter "*.ad*" | Select-String -Pattern "some-function-name" {assignment was to trace use of some system calls up through to the user API level to ensure that the API documented that it might block} -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/