Opinion on best practice...

Grant Edwards invalid at invalid.invalid
Wed Feb 6 10:04:21 EST 2013


On 2013-02-06, Ian Kelly <ian.g.kelly at gmail.com> wrote:
> On Tue, Feb 5, 2013 at 3:59 PM, Grant Edwards <invalid at invalid.invalid> wrote:
>> On 2013-02-05, Neil Cerutti <neilc at norwich.edu> wrote:
>>> On 2013-02-05, Walter Hurry <walterhurry at lavabit.com> 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!!



More information about the Python-list mailing list