Another possibility is to use the ast module of python:
http://docs.python.org/library/ast.html
The only problem with that module, is that everything you parse must be
correct, otherwise it throws an exception, I don't know if that's a problem for
your project?
-Original message-
From
You can do this with one subprocess.Popen and some python commands.
The alternative is to pipe some subprocess.Popen commands together.
Or for the quick way out (but I think you better stick with bash scripting
then): http://pypi.python.org/pypi/sarge/
Don't know about it's stability/ubs/etc, n
Scripting is one of the strong sides of python. I use it al the time to quickly
write a script to analyze something or automate. That is probably the reason it
is used to glue (script) things together and is embedded in some programs (like
Maya and such).
At the company we're using python and d