smart_text(s, encoding='utf-8', strings_only=False, errors='strict') [source]
Returns a text object representing s – unicode on Python 2 and str on Python 3. Treats bytestrings using the encoding codec.
If strings_only is True, don’t convert (some) non-string-like objects.
Please login to continue.