Add files via upload

This commit is contained in:
themixray 2021-11-07 21:46:33 +03:00 committed by GitHub
parent abef24e1aa
commit 815a7bea90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 1380 additions and 91 deletions

View file

@ -0,0 +1,35 @@
# try:
from pygwin.surface import surface
import pygwin.keyboard as keyboard
from pygwin.console import console
import pygwin.gamepad as _gp
import pygwin.mouse as mouse
from pygwin.rect import rect
import pygwin.image as image
import pygwin.mixer as mixer
from pygame.locals import *
import pygwin.font as font
from pygwin._win import *
from pygwin._pg import pg
import pygwin.ui as ui
gamepad = _gp.gamepad(pg)
# except ModuleNotFoundError as e:
# import pip,os,sys
# if 'imofpgw' in sys.argv:
# os.system('cls' if os.name in ('nt', 'dos') else 'clear')
# raise e
# def install(package):
# if hasattr(pip,'main'):pip.main(['install',package])
# else:pip._internal.main(['install',package])
# os.system('cls' if os.name in ('nt', 'dos') else 'clear')
# modules = ['datetime',
# 'tempfile',
# 'pywin32',
# 'pickle',
# 'pygame',
# 'inputs',
# 'pydub',
# 'ctypes']
# for i in modules:
# install(i)
# os.execv(sys.executable, ['python']+sys.argv+['imofpgw'])