Python 3 String to Bytes

June 7, 2019
'abc'.encode('utf-8') # or encode()
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.