Skip to content

Instantly share code, notes, and snippets.

import subprocess
import sys
import os
import ctypes
# --- HIDE CONSOLE WINDOW ---
if sys.platform == "win32":
ctypes.windll.user32.ShowWindow(ctypes.windll.kernel32.GetConsoleWindow(), 0)
# --- SILENT AUTO-INSTALLER ---