how to grab a file in the current directory python code example Example: working directory python import os cwd = os.getcwd()