Simple mp3 player using tkinter python

preview_player
Показать описание
from tkinter import *
from playsound import playsound

from PIL import Image,ImageTk
def hello():
print("hello")
def hi():
def lol():
#def bol():
root = Tk()
bglb=Label(root,image=bg)
x = Label(root,text=" WELCOME TO THIS MP3 PLAYER",bg="green",padx="30",pady="20",font="bold")
f1=Frame(root,bg="blue",borderwidth=6)
l=Label(f1,text="1.",fg="darkorange",font=('bold',15))
f2=Frame(root,bg="blue",borderwidth=6)
m=Label(f2,text="2.",fg="darkorange",font=('bold',15))
b1=Button(root,bg="green",text="start",command=hello)
b2=Button(root,bg="green",text="start",command=hi)
b3=Button(root,bg="red",text="stop",command=lol)
#b4=Button(root,bg="red",text="stop",command=bol)
n=Label(root,text="You can play and exit\n after end of one song",font="italic",bg="grey")
Рекомендации по теме
Комментарии
Автор

I have many song in my playlist. i want if one song is finished playing then it must go automatically to the next song and so on
can you help me with that.
i can send you the small code

autarroy
welcome to shbcf.ru