Wednesday, June 20, 2012

Python and Linux Command

import commands
out = commands.getoutput("ls")
print out

1 comment: