One more as additional for the @zuf’s answer.
For Python2:
"word" == u"word" # True
"word" is u"word" # True
It can get really surprising results if you are using is instead == for the real software (backend web server for example). I prefer to use ==. Only one exception when I need to check that a variable is None.