Best way to convert string to bytes in Python 3? Best way to convert string to bytes in Python 3? python-3.x python-3.x