Linux ls command in python