A python version of the shell command ls