python
long long int
这个作者很懒,什么都没留下…
展开
-
windows下Pycharm中安装Pygame
1. File | Settings | Project: project | Project Interpreter 点击加号,搜索pygame 2. 安装pygame 3. 查看安装结果 4. 测试 import sys import pygame def run_game(): # 初始化游戏并创建一个屏幕对象 pygame.init(...原创 2019-08-07 01:04:43 · 1334 阅读 · 0 评论 -
Pycharm打包生成exe可执行文件
1. 安装pyinstaller File-Settings-Project 2. 打开终端 3. 生成exe 由于我的源文件在src目录下,因此执行pyinstaller -F -w src\game_functions.py 命令,结果如下: 生成的exe文件。 或者使用pyinstaller -F src\game_functions.p...原创 2019-08-12 01:01:23 · 328 阅读 · 0 评论