1
piglei 2014-02-20 18:33:26 +08:00
一般来说,subprocess可以满足你的需求:
# -*- coding: utf-8 -*- import subprocess subprocess.call('python another.py', shell=True) |
2
ritksm 2014-02-20 18:39:36 +08:00
|
3
ljcarsenal 2014-02-20 18:50:42 +08:00
import os
os.system('命令') |
4
PotatoBrother 2014-02-20 19:14:21 +08:00
os库可以满足你
|