Tag Archives: immutable

Python: Converting string to bytes object

In this post, we will check how to convert a Python string to a bytes object. Bytes objects are immutable sequences of single bytes in the range between o and 255 (inclusive). Advertisements

Posted in Python | Tagged , , , , | Leave a comment