b'binary string'.decode('ascii') # to str
'text string'.encode('ascii') # to bytes
【python】【sqlite】BLOB转string
于 2022-11-29 21:42:19 首次发布
b'binary string'.decode('ascii') # to str
'text string'.encode('ascii') # to bytes