Commit 0746fc4f by BellCodeEditor

save project

parent f9d41584
Showing with 32 additions and 2 deletions
import os
txt_list=[]
filelist=os.listdir("C:\\Users\\new-user\\Desktop\\file")
for i in filelist:
if i[-4:] == ".txt":
txt_list.append(i)
import pygame
from pygame import locals
pygame.init()
screen=pygame.display.set_mode((420,540))
music1=pygame.mixer.Sound("歌曲1.wav")
music2=pygame.mixer.Sound("歌曲2.wav")
music1.play()
music2.play()
while True:*
\ No newline at end of file
......@@ -38,4 +38,16 @@ pen.forward(100)
tree(60)
turtle.done()
\ No newline at end of file
turtle.done()
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