This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from os import startfile, system | |
from time import sleep | |
from importlib.util import find_spec | |
REQUIREMENTS = ['pyautogui', 'win32gui', 'pyuac'] | |
if None in [find_spec(req) for req in REQUIREMENTS]: | |
print('some of requirements is not installed') | |
print('installing requirements:', ' '.join([req for req in REQUIREMENTS if find_spec(req) is None])) | |
system('pip install pyautogui pywin32 pyuac') | |
print('installed') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from art import text2art | |
import WinTmp | |
import pyuac | |
from rich import print | |
from time import sleep | |
from os import system | |
import win32gui | |
import win32con | |
if not pyuac.isUserAdmin(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from climage import convert | |
from os import get_terminal_size, listdir, system, name, makedirs, path | |
from PIL import Image | |
from time import sleep, time | |
import cv2 | |
import keyboard | |
import sounddevice as sd | |
import soundfile as sf | |
import pygame | |
import threading |