working with directory in python code example Example: which folder python os import os cwd = os.getcwd()