1 2 3 4
import sys import os print("Current directory:", os.getcwd()) print("Python executable:", sys.executable)