While I am trying to open music from python using speech it was not working properly.
enter image description here
The images of code and the error I am facing was attached
elif 'play music' in query:
music_dir='/home/lokesh/Music/fav'
songs=os.listdir(music_dir)
os.open(os.path.join(music_dir,songs[0]))
help me to correct this