how do i check what directory is python installed in code example Example: how to check in which directory python in running import os cwd = os.getcwd()