Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python string argument without an encoding

You do not do bytes("bla bla") 
or just b"bla bla", you need to 
specify an encoding type like bytes("bla bla","utf-8") 
because it needs to know what was the original encoding
before turning it into an array of numbers.
Source by www.google.com #
 
PREVIOUS NEXT
Tagged: #python #string #argument #encoding
ADD COMMENT
Topic
Name
8+5 =