cd to working directory os.system code example Example: python cd to directory import os os.chdir(path)