Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: script files with python (instead of tcsh/bash)?

Thread Tools

Re: script files with python (instead of tcsh/bash)?

Posts: n/a
Hi Joe,

Joe Riopel wrote:
> Are these scripts run on computers that are guaranteed to have Python
> installed? If not, can you install Python on them?
> I use Python when I can, but sometimes shell scripts just makes sense. T

Yes. Currently I am running the bash/tcsh scripts under Ubuntu. The scripts
process the output of a set of big simulation runs using R. I can run R under
Windows too, but then I can't use the shell scripts to process them, so in
fact Python would make things more portable for me.

Shell scripting works for me for quick and relatively short tasks, as soon
as it gets a bit longer I miss having cleaner control structures and
functions, and Python having such a clean code would be great and make
maintenance easier too as I tweak the code.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Passing arguments to & executing, a python script on a remote machinefrom a python script on local machine ashish Python 4 09-20-2012 07:28 AM
Python as active script <script language=python> misterdi Python 0 07-28-2009 04:30 PM
How to Machine A python script execute Machine B python script? johnny Python 5 07-11-2007 01:03 PM
Executing a python script with arguments from a python script Python 3 12-13-2005 02:49 AM
executing a python script from another python script. sarmin kho Python 1 06-04-2004 01:12 PM