Answers for "how to remove b in front of python string"

1

how to remove b in front of python string

str_object = b'Python Pool'
print(str_object)                   # => b'Python Pool'
str_object = str_object.decode()
print(str_object)                   # => Python Pool
Posted by: Guest on August-16-2021

Code answers related to "how to remove b in front of python string"

Python Answers by Framework

Browse Popular Code Answers by Language