Check string "None" or "not" in Python 2.7

Viewed 26094

Wondering if if not foo is None is the same as if foo? Using Python 2.7 and foo is a string.

4 Answers
Related