Pipe öffnen für ls ...


#!/usr/bin/python2.2
import os
a = os.popen('ls').readlines()
a.remove("\012")
print a