import popen2
import os
s="\"D:\Dropbox\Software\7z.exe\" l \"c:\Program files\7-Zip\7-Zip.zip\"".replace('\\','/')
cmdout , cmdin = popen2.popen2(s)
print cmdin
output=""
for line in cmdout:
output=output+line
cmdout.close() # Don't forget to close output and input handles
cmdin.close()
print output
沒有留言:
張貼留言