frist of all you have to create project name as musicplayer.py in your pycharm application and paste this code.
from tkinter import * from tkinter import filedialog from pygame import mixer from tkinter.ttk import Progressbar import datetime from mutagen.mp3 import MP3