12 2021 档案
摘要:import pygame import sys import random class Bird(object): """定义一个鸟类""" def __init__(self): """定义初始化方法""" self.birdRect = pygame.Rect(65, 50, 50, 50)
阅读全文
摘要:# -*- coding:utf-8 -*- import sys import pygame pygame.init() size = width,height = 640, 480 screen = pygame.display.set_mode(size) color = (0,0,0) ba
阅读全文
摘要:# coding:utf-8 import wx class MyFrame(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'用户登录',size=(400,300)) #创建面板 panel =
阅读全文

浙公网安备 33010602011771号