I have a piece of code that I want to be compatible with both Python2.7 and Python3.
For Python 2.7 - I want to do - if isinstance(content, str).
if isinstance(content, str)
For