0

python怎样执行shell命令

setlla created at5 years ago view count: 2386
report
回复
0
from subprocess import call
call(["ls", "-lh"])
5 years ago 回复
0

os.system("ls -hl ")

5 years ago 回复
0

stream = os.popen("ls -hl")

5 years ago 回复

Recent search keywords