« first day (438 days earlier)      last day (2918 days later) » 

1:26 PM
`def geticon(event):
global stage
if stage==0:
print("Clicked")
micimg['file']=events.getIconImage(stage)
micLabel['image']=micimg
statusLabel['text']="I'm listening.."
micstat=events.openMic()
if micstat=="Couldn't understand what you said":
statusLabel['text']=micstat
textLabel['text']="Try speaking clearly."
elif micstat=="Oops, something went wrong:":
statusLabel['text']=micstat
textLabel['text']="Check your connection, system permissions and try again."
else:
textLabel['text']=micstat`
wait
`
`
def geticon(event):
global stage
if stage==0:
print("Clicked")
micimg['file']=events.getIconImage(stage)
micLabel['image']=micimg
statusLabel['text']="I'm listening.."
micstat=events.openMic()
if micstat=="Couldn't understand what you said":
statusLabel['text']=micstat
textLabel['text']="Try speaking clearly."
elif micstat=="Oops, something went wrong:":
statusLabel['text']=micstat
textLabel['text']="Check your connection, system permissions and try again."
else:
textLabel['text']=micstat
`
 
5 messages moved from Python
 

« first day (438 days earlier)      last day (2918 days later) »