Python Code for interfacing of Audio Player with Raspberry Pi

import pygame
pygame.mixer.init()
pygame.mixer.music.load(“file_name.mp3”)
pygame.mixer.music.play()

while pygame.mixer.music.get_busy() == True:
        continue