python working with directories code example
Example 1: get files in directory python
import os
files_and_directories = os.listdir("path/to/directory")
Example 2: which folder python os
import os
cwd = os.getcwd()
import os
files_and_directories = os.listdir("path/to/directory")
import os
cwd = os.getcwd()