bash/shell to python

Dan Stromberg drsalists at gmail.com
Mon May 21 21:31:41 EDT 2012


FWIW, I do manual argument parsing, because pylint understands how to
detect typos with manual argument parsing, but not the highly dynamic
modules that parse arguments.

On Wed, May 16, 2012 at 7:16 PM, Rita <rmorgan466 at 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?
>
>
>
>
>
> --
> --- Get your facts first, then you can distort them as you please.--
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120521/e26f5099/attachment.html>


More information about the Python-list mailing list