Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.linkpendium.com!news.linkpendium.com!panix!not-for-mail From: Grant Edwards Newsgroups: comp.lang.python Subject: Re: Opinion on best practice... Date: Wed, 6 Feb 2013 15:04:21 +0000 (UTC) Organization: PANIX Public Access Internet and UNIX, NYC Lines: 27 Message-ID: References: <207d17ce-4bc7-487c-acde-6a7b9f66002b@googlegroups.com> NNTP-Posting-Host: dsl.comtrol.com X-Trace: reader1.panix.com 1360163061 4713 64.122.56.22 (6 Feb 2013 15:04:21 GMT) X-Complaints-To: abuse@panix.com NNTP-Posting-Date: Wed, 6 Feb 2013 15:04:21 +0000 (UTC) User-Agent: slrn/1.0.1 (Linux) Xref: csiph.com comp.lang.python:38282 On 2013-02-06, Ian Kelly wrote: > On Tue, Feb 5, 2013 at 3:59 PM, Grant Edwards wrote: >> On 2013-02-05, Neil Cerutti wrote: >>> On 2013-02-05, Walter Hurry wrote: >>>>> Sorry, I'm a Linux guy. I have no clue what that means. >>>> >>>> Hooray for common sense! Python is great, but it's silly to use >>>> Python (unless there is good reason) when a simple shell script >>>> will do the job. >>> >>> Python is an excellent option for writing shell scripts, >>> particularly if your shell is cmd.exe. >> >> The OP stated explicitly that the target OS was Linux: > > The impression I got was that he was looking for something that would > be cross-platform and work in both Windows and Linux. Python is a > reasonable choice for that if you're not willing to deal with Cygwin. True, the _language_ of Python is cross-platform, but doing much of anything filesystem/administration related in a cross-platform manner can be painful. -- Grant Edwards grant.b.edwards Yow! I feel like I'm at in a Toilet Bowl with a gmail.com thumbtack in my forehead!!