How to play music without pygame
from playsound import playsound
playsound('audio.mp3')
#Hope it helps :)
How to play music without pygame
from playsound import playsound
playsound('audio.mp3')
#Hope it helps :)
pygame music player
import pygame
pygame.init()
pygame.mixer.play('datei.wav')
how to put song in pygame
#has to be in .mp3 format
#has to be in same folder
#load the music
pygame.mixer.music.load('song.mp3')
#play the music infinite
pygame.mixer.music.play(-1)
#or play it one time
pygame.mixer.music.play(0)
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us