import speech_recognition as sr r = sr.Recognizer() # a recogniser to understand my voice with sr.Microphone() as source: # use the default microphone as the