Home / Python Tips Generated By ChatGPT / The os Module for Operating System Interactions in Python Interact with the operating system. Source Code import os print(os.getcwd()) # Current working directory