摘要: # coding:utf-8 import wx class MyFrame(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'用户登录',size=(400,300)) #创建面板 panel = 阅读全文
posted @ 2021-12-15 13:17 boyc 阅读(15) 评论(0) 推荐(0)
摘要: import pygame import sys import random class Bird(object): """定义一个鸟类""" def __init__(self): """定义初始化方法""" self.birdRect = pygame.Rect(65, 50, 50, 50) 阅读全文
posted @ 2021-12-15 13:14 boyc 阅读(90) 评论(0) 推荐(0)
摘要: # -*- 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 阅读全文
posted @ 2021-12-15 13:06 boyc 阅读(127) 评论(0) 推荐(0)
摘要: # coding:utf-8 import wx class MyFrame(wx.Frame): def __init__(self,parent,id): wx.Frame.__init__(self,parent,id,'用户登录',size=(400,300)) #创建面板 panel = 阅读全文
posted @ 2021-12-15 12:56 boyc 阅读(207) 评论(0) 推荐(0)