import ctypes def hide_taskbar(): user32 = ctypes.WinDLL('user32') hwnd = user32.FindWindowW(None, 'Панель задач') user32.ShowWindow(hwnd, 0) hide_taskbar()