摘要: 第十章 游戏时间:Skier 首先安装pygame,直接在cmd命令控制框里键入pip install pygame就可以了 代码: import pygame, sys, random skier_image = ["skier_down.png", "skier_right1.png", "sk 阅读全文
posted @ 2018-06-11 19:40 与囡 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 第六章 GUI:用户图形界面(graphical user interface) 安装easygui:打开cmd命令窗口,输入:pip install easygui 利用msgbox()函数创建一个消息框: import easygui easygui.msgbox('hello there') 阅读全文
posted @ 2018-06-11 09:34 与囡 阅读(664) 评论(0) 推荐(0) 编辑