Commit f913560c by BellCodeEditor

save project

parent 40cbe188
Showing with 10 additions and 3 deletions
import pygame
from pygame import locals
pygame.init()
breakground = pygame.import.load("bg.png")
right = pygame.impor.load('right.png')
food = pygame.impor.load('apple.png')
background = pygame.image.load("bg.png")
right = pygame.image.load('right.png')
food = pygame.image.load('apple.png')
screen=pygame.display.set_mode((660,480))
while True:
for event in pygame.event.get():
......
file=open(r'C:\Users\makcoo\Desktop\text.txt','w',encoding='utf-8')
#file.write('学校放寒假!!!')
file.write('小强')
file.close()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment