speechpython unboundlocalerror local variable 'd' referenced before assignmentShare on FacebookShare on Twitter100