Commit 2960d9f4 by BellCodeEditor

auto save

parent a94cb799
Showing with 21 additions and 0 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:
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