On Wed, May 16, 2012 at 7:16 PM, Rita <rmorgan...@gmail.com> wrote: > Hello, > > I currently build a lot of interfaces/wrappers to other applications using > bash/shell. One short coming for it is it lacks a good method to handle > arguments so I switched to python a while ago to use 'argparse' module. Its > a great complement to subprocess module. I was wondering if there is a > generic framework people follow to build python scripts which are replacing > shell scripts? Is there a guide or a template to follow?
Not really. The new Plumbum library looks pretty awesome though: http://plumbum.readthedocs.org/en/latest/index.html There are also a few 3rd-party wrapper libraries for the `subprocess` module available to make using it more convenient (e.g. `envoy`). Cheers, Chris -- http://mail.python.org/mailman/listinfo/python-list