ls -d */
for d in */ ; do echo "$d" done
find . -type f -follow -print
from os import listdir ## Prints the current directory as a list (including file types) print(os.listdir())