摘要: import pygame import sys import random class Bird(object): """定义一个鸟类""" def __init__(self): """定义初始化方法""" self.birdRect = pygame.Rect(65, 50, 50, 50) 阅读全文
posted @ 2022-12-14 19:50 Kyaria 阅读(10) 评论(0) 推荐(0) 编辑
摘要: Sqlite3 import sqlite3 conn = sqlite3.connect('mrsoft.db') cursor = conn.cursor() cursor.execute('create table user (id int(10) primary key, name varc 阅读全文
posted @ 2022-12-14 19:31 Kyaria 阅读(26) 评论(0) 推荐(0) 编辑
摘要: Antmanor_message print("\n","="*10,"蚂蚁庄园的动态","="*10) file = open('message_txt','w') print("\n 即将显示……\n") Antmanor_message_ print("\n","="*10,"蚂蚁庄园的动态" 阅读全文
posted @ 2022-12-14 19:05 Kyaria 阅读(14) 评论(0) 推荐(0) 编辑