Convert from '_io.BytesIO' to a bytes-like object in python3.6? Convert from '_io.BytesIO' to a bytes-like object in python3.6? python-3.x python-3.x