how to run an external program...

A

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.
 
P

Philippe C. Martin

hi,

What do you need by "control" ?

look at os.system/execv/popen ...;

Regards,

Philippe
 
L

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
 
A

ash

Thanks for Philippe, Larry and Fredrik for the help.
the subprocess module did the trick.
 
C

calad.sigilon

ash said:
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()?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top