Home / Python Tips Generated By ChatGPT / The os and sys Modules for System Operations in Python Interact with the operating system and retrieve system-specific parameters. Source Code import os import sys print(os.getcwd()) # Current working directory print(sys.platform) # Platform identifier