Add files via upload
This commit is contained in:
parent
1b8011c332
commit
f40412c645
8 changed files with 115 additions and 49 deletions
|
@ -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'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue