python windows get current directory code example Example: get working directory python import os os.getcwd()