# import required module from playsound import playsound # for playing note.wav file playsound('/path/note.wav') print('playing sound using playsound')