GMgKe586q6suSQnyqZLlGCooeWM

Pages

Search

Tuesday, May 3, 2011

Python - Pipe

>> import os
>> cmd = "dir"
>> fp = popen(cmd)
>> print fp.read()
>> fp.close()
Share/Bookmark

No comments:

Post a Comment