jstroud at mbi.ucla.edu
Tue Nov 16 22:48:44 CET 2004
I have done shell programming in both python and perl for some time. I love
both languages for different reasons. At the risk of sounding like language
evangelicalism, though, I will advise you to use python exclusively.
Sometimes without thinking I still reach for perl to do 'shell' scripting (by
thinking in perl and beginning with the infamous "#! /usr/bin/perl -w"). In
these cases I invariably finish and say to myself "I should have done this in
Take a look at the "os" module.
On Tuesday 16 November 2004 07:52 pm, Caleb Hattingh wrote:
> Can python be used for shell programming?
> Absolutely. Going through the python tutorial will take, say, 3 hours,
> and then you should be able to decide for yourself.
> As perl does?
> That is a very different question I don't think I am qualified to answer.
> On 16 Nov 2004 08:35:15 -0800, John <johnw822003 at yahoo.com> wrote:
> > Can python do Shell programming or system programming as perl does?
> > Thanks.
> > John
James Stroud, Ph.D.
UCLA-DOE Institute for Genomics and Proteomics
611 Charles E. Young Dr. S.
MBI 205, UCLA 951570
Los Angeles CA 90095-1570
More information about the Python-list