Joan Miller wrote: > On 28 ene, 19:16, Josh Holland <j...@joshh.co.uk> wrote: >> On 2010-01-28, Joan Miller <pelok...@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.
So rewrite the script to read the commands from a file and execute them one by one? regards Steve -- Steve Holden +1 571 484 6266 +1 800 494 3119 PyCon is coming! Atlanta, Feb 2010 http://us.pycon.org/ Holden Web LLC http://www.holdenweb.com/ UPCOMING EVENTS: http://holdenweb.eventbrite.com/ -- http://mail.python.org/mailman/listinfo/python-list