Chapter 1 Practice set : 5 questions

 1. to print multiple lines use ''' and not "


3. playsound module - external module install

this module can be used to play an audio file through Python

 from playsound import playsound

playsound('C:\\Users\\gulsh\\Gulshan007\\video material\\ncs songs\\New folder\\alan walker.mp3')



'''
ALWAYS USE DOUBLE OPPOSITE SLASH IN THE PATH WAY\\
    OR THAT WILL NOT WORK
'''




'''
PLAYSOUND IS A MODULE TO PLAY ANY AUDIO FINE THROUGH PYTHON
THIS SEEMS VERY COOL THOUGH'''

Also Read

Post a Comment