Re: how to run an external program...

2005-12-01 Thread calad . sigilon
ash wrote: > hi, > i want to know is there a way to run/control an external program form > within a python program? > thanks in advance for any Have you tried os.system()? -- http://mail.python.org/mailman/listinfo/python-list

Re: how to run an external program...

2005-12-01 Thread ash
Thanks for Philippe, Larry and Fredrik for the help. the subprocess module did the trick. -- http://mail.python.org/mailman/listinfo/python-list

Re: how to run an external program...

2005-12-01 Thread Fredrik Lundh
Larry Bates wrote: > In addition to what Philippe suggested, take a look at the > subprocess module as well (if you are on Python 2.4 or > greater). footnote: the subprocess module is available for 2.2 and 2.3 as well. a pure-python version (for unix and compatibles) can be found here: http:

Re: how to run an external program...

2005-12-01 Thread Larry Bates
In addition to what Philippe suggested, take a look at the subprocess module as well (if you are on Python 2.4 or greater). -Larry Bates ash wrote: > hi, > i want to know is there a way to run/control an external program form > within a python program? > thanks in advance for any support. > --

Re: how to run an external program...

2005-12-01 Thread Philippe C. Martin
hi, What do you need by "control" ? look at os.system/execv/popen ...; Regards, Philippe On Thu, 01 Dec 2005 11:57:03 -0800, ash wrote: > hi, > i want to know is there a way to run/control an external program form > within a python program? > thanks in advance for any support. -- http://ma

how to run an external program...

2005-12-01 Thread ash
hi, i want to know is there a way to run/control an external program form within a python program? thanks in advance for any support. -- http://mail.python.org/mailman/listinfo/python-list