import commands print commands.getoutput("ls -1 /bin")