python3 list directories

Solutions on MaxInterview for python3 list directories by the best coders in the world

showing results for - "python3 list directories"
Leonie
26 Oct 2020
1import os
2
3arr = os.listdir("c:/temp/")
4
5print("\n".join(arr))