Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python b before string

# It means it's a byte string.
# Which means it'll just print b'string' if you try to print it out
string = b'Random string'
print(string)
string_without_b = string.decode()
print(string_without_b)
 
PREVIOUS NEXT
Tagged: #python #string
ADD COMMENT
Topic
Name
2+9 =