摘要: 此代码用于显示一张图片 1 # -*- coding: utf-8 -*- 2 import pygame #导入pygame库 3 from sys import exit #向sys模块借用exit函数来退出程序 4 pygame.init() #初始化pygame 5 6 screen = pygame.display.set_mode((600,170),0,32) 7 #... 阅读全文
posted @ 2017-10-01 20:38 启动 阅读(246) 评论(0) 推荐(0) 编辑