In article <gq2rjc$j...@ger.gmane.org>, Esmail <ebo...@hotmail.com> wrote: > Aahz wrote: > > In article <mailman.2374.1237641982.11746.python-l...@python.org>, > > Esmail <ebo...@hotmail.com> wrote: > >> I am wondering if anyone is using python to write script files? > > > > These days, I always convert any even slightly complicated script to > > Python. > well .. that sounds encouraging ...> > >> I've looked around the web w/o much luck for some examples but come > >> short. Any comments/suggestions? > > Not sure what you're looking for here -- many things you'd run an > > external program for in scripting can be accomplished with Python library > > calls, and for the rest, you can use the subprocess module (or os.system > > if you have no acces to Python 2.4 or higher). > I have access to 2.5 or more recent. I guess I was looking for some > example scripts in Python and perhaps the equivalent in bash/tsch to > show some of the equivalences. I am being impatient, I guess I need to > dig into the language/library documentation a bit more on my own.
Perhaps the recipe for Pyline might give you some ideas on how to write python scripts that play well with other scripts. <http://code.activestate.com/recipes/437932/> -- Ned Deily, n...@acm.org -- http://mail.python.org/mailman/listinfo/python-list