How to check if text is "empty" (spaces, tabs, newlines) in Python?
- by bodacydo
How can I test if the string is empty in Python?
For example,
"<space><space><space>" is empty, so is
"<space><tab><space><newline><space>", so is
"<newline><newline><newline><tab><newline>", etc.