Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> Str.decode(encoding = 'UTF-8',errors = 'strict')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'Str' is not defined
>>> .decode(encoding = 'UTF-8',errors = 'strict')
File "<stdin>", line 1
.decode(encoding = 'UTF-8',errors = 'strict')
^
SyntaxError: invalid syntax
>>> Str ="123"
>>> Str.decode(encoding = 'UTF-8',errors = 'strict')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'str' object has no attribute 'decode'
Type "help", "copyright", "credits" or "license" for more information.
>>> Str.decode(encoding = 'UTF-8',errors = 'strict')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'Str' is not defined
>>> .decode(encoding = 'UTF-8',errors = 'strict')
File "<stdin>", line 1
.decode(encoding = 'UTF-8',errors = 'strict')
^
SyntaxError: invalid syntax
>>> Str ="123"
>>> Str.decode(encoding = 'UTF-8',errors = 'strict')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'str' object has no attribute 'decode'