This file lists modules PyInstaller was not able to find. This does not
necessarily mean this module is required for running your program. Python and
Python 3rd-party packages include a lot of conditional or optional modules. For
example the module 'ntpath' only exists on Windows, whereas the module
'posixpath' only exists on Posix systems.
Types if import:
* top-level: imported at the top-level - look at these first
* conditional: imported within an if-statement
* delayed: imported within a function
* optional: imported within a try-except-statement
IMPORTANT: Do NOT post this list to the issue-tracker. Use it as a basis for
tracking down the missing module yourself. Thanks!
missing module named pyimod02_importers - imported by C:\Users\1\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgres.py (delayed), C:\Users\1\AppData\Local\Programs\Python\Python311\Lib\site-packages\PyInstaller\hooks\rthooks\pyi_rth_pkgutil.py (delayed)
missing module named 'org.python' - imported by copy (optional), xml.sax (delayed, conditional)
missing module named pwd - imported by posixpath (delayed, conditional, optional), shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional), http.server (delayed, optional), webbrowser (delayed), netrc (delayed, conditional), getpass (delayed)
missing module named grp - imported by shutil (delayed, optional), tarfile (optional), pathlib (delayed, optional), subprocess (delayed, conditional, optional)
missing module named posix - imported by posixpath (optional), shutil (conditional), importlib._bootstrap_external (conditional), os (conditional, optional)
missing module named resource - imported by posix (top-level)
excluded module named _frozen_importlib - imported by importlib (optional), importlib.abc (optional), zipimport (top-level)
missing module named _frozen_importlib_external - imported by importlib._bootstrap (delayed), importlib (optional), importlib.abc (optional), zipimport (top-level)
missing module named _scproxy - imported by urllib.request (conditional)
missing module named termios - imported by tty (top-level), getpass (optional)
missing module named org - imported by pickle (optional)
missing module named 'java.lang' - imported by platform (delayed, optional), xml.sax._exceptions (conditional)
missing module named multiprocessing.BufferTooShort - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
missing module named multiprocessing.AuthenticationError - imported by multiprocessing (top-level), multiprocessing.connection (top-level)
missing module named _posixshmem - imported by multiprocessing.resource_tracker (conditional), multiprocessing.shared_memory (conditional)
missing module named _posixsubprocess - imported by subprocess (conditional), multiprocessing.util (delayed)
missing module named multiprocessing.get_context - imported by multiprocessing (top-level), multiprocessing.pool (top-level), multiprocessing.managers (top-level), multiprocessing.sharedctypes (top-level)
missing module named multiprocessing.TimeoutError - imported by multiprocessing (top-level), multiprocessing.pool (top-level)
missing module named fcntl - imported by subprocess (optional)
missing module named multiprocessing.set_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
missing module named multiprocessing.get_start_method - imported by multiprocessing (top-level), multiprocessing.spawn (top-level)
missing module named typing_extensions - imported by jinja2.bccache (conditional), markupsafe (conditional), jinja2.utils (conditional), jinja2.runtime (conditional), jinja2.lexer (conditional), jinja2.nodes (conditional), jinja2.visitor (conditional), jinja2.compiler (conditional), jinja2.filters (conditional), jinja2.defaults (conditional), jinja2.parser (conditional), jinja2.environment (conditional), jinja2.ext (conditional), packaging.metadata (conditional, optional)
missing module named _manylinux - imported by pkg_resources._vendor.packaging._manylinux (delayed, optional), packaging._manylinux (delayed, optional)
missing module named asyncio.DefaultEventLoopPolicy - imported by asyncio (delayed, conditional), asyncio.events (delayed, conditional)
missing module named pyparsing - imported by pkg_resources._vendor.pyparsing.diagram (top-level)
missing module named railroad - imported by pkg_resources._vendor.pyparsing.diagram (top-level)
missing module named readline - imported by cmd (delayed, conditional, optional), code (delayed, conditional, optional), pdb (delayed, optional)
missing module named 'pkg_resources.extern.pyparsing' - imported by pkg_resources._vendor.packaging.markers (top-level), pkg_resources._vendor.packaging.requirements (top-level)
missing module named 'pkg_resources.extern.importlib_resources' - imported by pkg_resources._vendor.jaraco.text (optional)
missing module named 'pkg_resources.extern.more_itertools' - imported by pkg_resources._vendor.jaraco.functools (top-level)
missing module named 'win32com.shell' - imported by pkg_resources._vendor.appdirs (conditional, optional)
missing module named 'com.sun' - imported by pkg_resources._vendor.appdirs (delayed, conditional, optional)
missing module named com - imported by pkg_resources._vendor.appdirs (delayed)
missing module named win32api - imported by pkg_resources._vendor.appdirs (delayed, conditional, optional)
missing module named win32com - imported by pkg_resources._vendor.appdirs (delayed)
missing module named _winreg - imported by platform (delayed, optional), pkg_resources._vendor.appdirs (delayed, conditional)
missing module named pkg_resources.extern.packaging - imported by pkg_resources.extern (top-level), pkg_resources (top-level)
missing module named pkg_resources.extern.appdirs - imported by pkg_resources.extern (top-level), pkg_resources (top-level)
missing module named 'pkg_resources.extern.jaraco' - imported by pkg_resources (top-level), pkg_resources._vendor.jaraco.text (top-level)
missing module named vms_lib - imported by platform (delayed, optional)
missing module named java - imported by platform (delayed)
missing module named OpenGL - imported by pygame (delayed)
missing module named numpy - imported by pygame.surfarray (top-level), pygame.sndarray (top-level), pygame (delayed)
missing module named pygame.register_quit - imported by pygame (top-level), pygame.fastevent (top-level)
missing module named pygame.error - imported by pygame (top-level), pygame.fastevent (top-level)
missing module named 'pygame.overlay' - imported by pygame (optional)
missing module named 'pygame.cdrom' - imported by pygame (conditional, optional)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
注:该文件夹内含源代码,以及可执行文件,可执行文件exe在dist文件中。 用python做一个贪吃蛇游戏:设置一个初始的游戏界面,其中蛇可以上下左右移动,按" w "键上移,按" s "键下移,按" a "键左移,按" d "键右移,当蛇头与食物相撞时,得分加1。若小蛇和自身或边框相撞则游戏失败,屏幕显示"游戏失败"。 这段代码的实现逻辑如下: 1. 初始化Pygame,并创建游戏界面。 2. 定义蛇的初始位置、速度,以及食物的初始位置和大小等参数。 3. 进入游戏主循环,处理事件,包括退出事件和键盘按键事件。 4. 根据按键事件更新蛇的速度。 5. 更新蛇的位置。 6. 判断蛇是否吃到了食物,如果吃到,则增加得分、蛇身长度,生成新的食物,并增加蛇的速度。 7. 判断是否游戏失败,如果蛇头超出界限,则结束游戏循环。 8. 可以按空格键暂停游戏,pause! 9. 清空屏幕,绘制蛇的身体、食物、得分和排名等信息。 10. 更新显示。 11. 退出游戏。
资源推荐
资源详情
资源评论
收起资源包目录
贪吃蛇.py(可按需代写实验报告) (133个子文件)
pygame_icon.bmp 630B
python311.dll 5.5MB
libcrypto-3.dll 4.92MB
SDL2.dll 2.38MB
SDL2.dll 2.38MB
SDL2_ttf.dll 1.48MB
SDL2_ttf.dll 1.48MB
ucrtbase.dll 993KB
libssl-3.dll 771KB
freetype.dll 639KB
freetype.dll 639KB
libwebp-7.dll 437KB
libtiff-5.dll 423KB
libopus-0.dll 360KB
libopus-0.dll 360KB
SDL2_mixer.dll 285KB
SDL2_mixer.dll 285KB
libmodplug-1.dll 259KB
libjpeg-9.dll 239KB
libjpeg-9.dll 239KB
libpng16-16.dll 206KB
libpng16-16.dll 206KB
SDL2_image.dll 123KB
SDL2_image.dll 123KB
VCRUNTIME140.dll 107KB
zlib1.dll 106KB
zlib1.dll 106KB
libopusfile-0.dll 46KB
portmidi.dll 41KB
libffi-8.dll 39KB
api-ms-win-crt-math-l1-1-0.dll 30KB
api-ms-win-core-file-l1-1-0.dll 26KB
api-ms-win-crt-string-l1-1-0.dll 26KB
api-ms-win-crt-convert-l1-1-0.dll 26KB
api-ms-win-crt-stdio-l1-1-0.dll 26KB
api-ms-win-crt-runtime-l1-1-0.dll 26KB
libogg-0.dll 25KB
libogg-0.dll 25KB
api-ms-win-core-console-l1-1-0.dll 22KB
api-ms-win-core-localization-l1-2-0.dll 22KB
api-ms-win-core-debug-l1-1-0.dll 22KB
api-ms-win-core-namedpipe-l1-1-0.dll 22KB
api-ms-win-crt-heap-l1-1-0.dll 22KB
api-ms-win-crt-environment-l1-1-0.dll 22KB
api-ms-win-core-string-l1-1-0.dll 22KB
api-ms-win-crt-locale-l1-1-0.dll 22KB
api-ms-win-core-handle-l1-1-0.dll 22KB
api-ms-win-core-sysinfo-l1-1-0.dll 22KB
api-ms-win-crt-filesystem-l1-1-0.dll 22KB
api-ms-win-core-processthreads-l1-1-0.dll 22KB
api-ms-win-core-synch-l1-2-0.dll 22KB
api-ms-win-core-interlocked-l1-1-0.dll 22KB
api-ms-win-core-processthreads-l1-1-1.dll 22KB
api-ms-win-core-memory-l1-1-0.dll 22KB
api-ms-win-core-heap-l1-1-0.dll 22KB
api-ms-win-core-util-l1-1-0.dll 22KB
api-ms-win-crt-utility-l1-1-0.dll 22KB
api-ms-win-core-file-l1-2-0.dll 22KB
api-ms-win-crt-time-l1-1-0.dll 22KB
api-ms-win-core-synch-l1-1-0.dll 22KB
api-ms-win-core-datetime-l1-1-0.dll 22KB
api-ms-win-core-timezone-l1-1-0.dll 22KB
api-ms-win-core-processenvironment-l1-1-0.dll 22KB
api-ms-win-crt-conio-l1-1-0.dll 22KB
api-ms-win-core-profile-l1-1-0.dll 22KB
api-ms-win-core-libraryloader-l1-1-0.dll 22KB
api-ms-win-core-errorhandling-l1-1-0.dll 22KB
api-ms-win-core-rtlsupport-l1-1-0.dll 22KB
api-ms-win-crt-process-l1-1-0.dll 22KB
api-ms-win-core-file-l2-1-0.dll 18KB
snack_game.exe 3.64MB
snack_game.exe 3.64MB
xref-snack_game.html 561KB
snack_game.pkg 3.33MB
snack_game.py 4KB
pyimod02_importers.pyc 25KB
pyimod03_ctypes.pyc 7KB
pyimod01_archive.pyc 6KB
pyimod04_pywin32.pyc 2KB
struct.pyc 360B
unicodedata.pyd 1.09MB
_decimal.pyd 248KB
surface.cp311-win_amd64.pyd 234KB
pyexpat.pyd 195KB
_ssl.pyd 173KB
_lzma.pyd 155KB
_ctypes.pyd 121KB
_bz2.pyd 83KB
_socket.pyd 78KB
_freetype.cp311-win_amd64.pyd 77KB
math.cp311-win_amd64.pyd 75KB
_hashlib.pyd 64KB
_asyncio.pyd 64KB
transform.cp311-win_amd64.pyd 57KB
mask.cp311-win_amd64.pyd 54KB
_overlapped.pyd 50KB
constants.cp311-win_amd64.pyd 50KB
draw.cp311-win_amd64.pyd 48KB
pixelarray.cp311-win_amd64.pyd 47KB
rect.cp311-win_amd64.pyd 45KB
共 133 条
- 1
- 2
资源评论
饼车轮
- 粉丝: 65
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 【年度培训】培训效果评估汇总表行政人事CLUB.xlsx
- 【年度培训】培训管理规范-培训管理总结行政人事CLUB.xlsx
- 【年度培训】培训成效分析图表行政人事CLUB.xlsx
- 【年度培训】培训效果评分标准行政人事CLUB.xlsx
- 【年度培训】年度培训计划记录表行政人事CLUB.xlsx
- 【年度培训】行政类专业化培训计划行政人事CLUB.xlsx
- 【年度培训】培训分析表.xls
- 【年度培训】20XX年度培训计划表行政人事CLUB.xlsx
- 【年度培训】公司内部讲师培训效果评分表行政人事CLUB.xlsx
- 【年度培训】年度培训计划表行政人事CLUB.xlsx
- 【年度培训】行政部年度培训需求计划表范例行政人事CLUB.xls
- 【年度培训】行政岗位新人入职培训计划行政人事CLUB.xls
- 【年度培训】行政年度培训计划表行政人事CLUB.xls
- 【年度培训】行政部岗前培训课程表行政人事CLUB.xls
- 【年度培训】行政部岗前培训一览表行政人事CLUB.xls
- 【年度培训】公司年度培训计划表.xls
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功