Python:
import subprocess
# Open a terminal window
subprocess.run(["gnome-terminal"]) # For GNOME Terminal on Linux
# subprocess.run(["open", "-a", "Terminal"]) # For Terminal on macOS
# subprocess.run(["cmd", "/c", "start", "cmd"]) # For Command Prompt on Windows