Wrap a function

Joan Miller peloko45 at gmail.com
Thu Jan 28 20:24:28 CET 2010


On 28 ene, 19:16, Josh Holland <j... at joshh.co.uk> wrote:
> On 2010-01-28, Joan Miller <pelok... at gmail.com> wrote:
>
> > I've to call to many functions with the format:
>
> >>>> run("cmd")
>
> Check the docs on os.system().
No. I've a function that uses subprocess to run commands on the same
shell and so substitute to bash scrips. But a script full of run
("shell_command --with --arguments") is too verbose.



More information about the Python-list mailing list