Add files via upload

This commit is contained in:
themixray 2021-11-08 13:51:45 +03:00 committed by GitHub
parent 1b8011c332
commit f40412c645
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 115 additions and 49 deletions

View file

@ -1,4 +1,3 @@
# try:
from pygwin.surface import surface
import pygwin.keyboard as keyboard
from pygwin.console import console
@ -7,29 +6,10 @@ import pygwin.mouse as mouse
from pygwin.rect import rect
import pygwin.image as image
import pygwin.mixer as mixer
from pygwin.tray import tray
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'])