from os import listdir ## Prints the current directory as a list (including file types) print(os.listdir())