<프로그래밍>/___Python
command 명령어 때리기
JinnyDown
2014. 9. 24. 13:04
fail, outputs = commands.getstatusoutput("grep \"avc:\" -rn * ")
f = open("avc_analyzer_temp.log", 'r')
lines = f.readlines()
참고: http://thdev.net/226