Calling an application from inside a python script Take 1

s713221 at student.gu.edu.au s713221 at student.gu.edu.au
Thu Jan 4 02:57:58 EST 2001


> 
> My long winded question is
> how do I get python to call an external application?
> 
> If someone could point me in the right direction I would really
> appreciate it. Thanks for your time!
> 
> Chris

>>> import os
>>> os.system('echo "hello"')
hello
0
>>>

Hope that helps.

	Joal Heagney/AncientHart



More information about the Python-list mailing list