import commands print commands.getoutput('ls /bin')