How to trim whitespace from a String in Python

How to trim whitespace from a String in Python