http://stackoverflow.com/questions/89228/calling-an-external-command-in-python
Look at the subprocess module in the stdlib:
from subprocess import call
call(["ls", "-l"])
import os
os.system("ls -l")
'Programming' 카테고리의 다른 글
Python standard input (0) | 2012.08.18 |
---|---|
Python itertools module (0) | 2012.08.16 |
Anonymous function in Go (0) | 2012.08.13 |
(Javascript) Close window without the prompt message in IE7 (0) | 2012.08.13 |
On-The-Fly C++ (0) | 2012.08.13 |