Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'linux,': 0.05; 'python': 0.09; "ain't": 0.09; 'linux.': 0.09; 'scripting': 0.09; 'scripts,': 0.09; 'weak': 0.09; 'language': 0.14; '"good': 0.16; '10:00': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'help...': 0.16; "os/2's": 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'shell': 0.18; '>>>': 0.18; 'windows': 0.19; 'feb': 0.19; 'seems': 0.23; 'header:In-Reply-To:1': 0.25; 'fit': 0.26; 'am,': 0.27; 'message-id:@mail.gmail.com': 0.27; "doesn't": 0.28; 'lines': 0.28; 'complain': 0.29; 'scripting,': 0.29; "he's": 0.33; 'to:addr:python-list': 0.33; 'received:google.com': 0.34; 'compared': 0.35; 'massive': 0.35; 'pm,': 0.35; 'received:209.85': 0.35; 'except': 0.36; 'but': 0.36; 'wanted': 0.36; 'bad': 0.37; 'beyond': 0.37; 'does': 0.37; 'option': 0.37; 'rather': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'google': 0.39; 'skip:" 10': 0.40; 'your': 0.60; 'red': 0.60; 'subject:...': 0.63; 'believe': 0.69; '2013': 0.84; 'furman': 0.84; 'neil': 0.84; 'edwards': 0.91; 'ethan': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=5QN5aMhe+TQU3ONiy36KBb6oRG5it3f9ECyN5BxhKXA=; b=QnQ7witbb4sOuTO6Y790o/IQS8ebVRgcT5uh+mMB+xy/Qk5r7SONLEyBmll9guO4fH +GBymFzCb2SuJhNx9iDeCk7bIwXRffMId5Tdl91X6+ybHAh9UgVYsyfMth5i5HJW6vOI y9Fxq1gRL+QOzQsx53YVSlGbKX5WdrQJECACXxxBAJ0FSmQibIwpaCzwwJMcvHiYYZj4 klQm7QSww8HmTplRLJ3ZxVhOf0nMntgn/GMFevdY/K+ProNqnNlIvfEoUyAwa9pvGmeh KThA9SJiZRa/kKlprjPTjC8DPZPn5jvEOQXsVSOXzgANxIxhyvkI/phtFTEoErHEhtCN Vc1Q== MIME-Version: 1.0 X-Received: by 10.58.211.129 with SMTP id nc1mr26147967vec.55.1360107340879; Tue, 05 Feb 2013 15:35:40 -0800 (PST) In-Reply-To: References: <207d17ce-4bc7-487c-acde-6a7b9f66002b@googlegroups.com> Date: Wed, 6 Feb 2013 10:35:40 +1100 Subject: Re: Opinion on best practice... 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.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: 24 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1360107343 news.xs4all.nl 6887 [2001:888:2000:d::a6]:60649 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:38244 On Wed, Feb 6, 2013 at 10:00 AM, Grant Edwards wrote: > On 2013-02-05, Ethan Furman wrote: >> On 02/05/2013 01:39 PM, Neil Cerutti wrote: >>> Python is an excellent option for writing shell scripts, >>> particularly if your shell is cmd.exe. >> >> I believe having your shell be cmd.exe qualifies as a "good reason"! > > Except the OP said he wanted to pick a language for Linux. If he has > cmd.exe as his shell on Linux, then he's beyond help... Python is not an "excellent option". It's a bad fit for shell scripting, it just happens to be way better than a weak shell. Having grown up on command.com, I found OS/2's cmd.exe to be a massive improvement, and Windows's cmd.exe to be rather less impressive... but both of them pale into insignificance compared to bash. OS/2 has a better shell scripting language (REXX), but Windows doesn't, and Python ain't it. (Hmm. Google Chrome doesn't put its red squiggly lines under "ain't", but it does complain about "virtualization". Seems to me something, uhh, ain't right there.) ChrisA