how to start a program?
Gerhard Häring
gh at ghaering.de
Mon May 5 07:15:03 EDT 2003
gabor wrote:
> hi,
>
>
> i want to start application from python,
> like i want to start
> 'id3v2 --TCON "anime" '
>
> how can i do that?
import os
os.system('id3v2 --TCON "anime"')
> p.s1: i don't need the output of that program this time, but how can i
> capture it's output?
Check out the docs for the popen2 module.
> p.s2: i know this is a lamer question, but i haven't been able to find
> it :(
This would have been my way of asking Google:
http://groups.google.com/groups?&q=group%3Acomp.lang.python+start+application
-- Gerhard
More information about the Python-list
mailing list