smart_bytes(s, encoding='utf-8', strings_only=False, errors='strict') [source]
Returns a bytestring version of s, encoded as specified in encoding.
If strings_only is True, don’t convert (some) non-string-like objects.
smart_bytes(s, encoding='utf-8', strings_only=False, errors='strict') [source]
Returns a bytestring version of s, encoded as specified in encoding.
If strings_only is True, don’t convert (some) non-string-like objects.
Please login to continue.