从数据库mysql检索数据

时间:2019-05-16 23:34:46

标签: python-3.x

当我使用SELECT从MySQL数据库中检索数据时,在Python中,数据中带有和附加符号b'dataa'

[(b'Avenue Motel Alexandra', 4, 99999, b'Alexandra', b'NZ', b'New Zealand', b'117 Centennial Avenue', b'Alexandra New Zealand', b'http://www.avenue-motel.co.nz/', -45.2475, 169.384)]

[(b'Avenue Motel Alexandra', 4, 99999, b'Alexandra', b'NZ', b'New Zealand', b'117 Centennial Avenue', b'Alexandra New Zealand', b'http://www.avenue-motel.co.nz/', -45.2475, 169.384)]

我要删除该符号b

0 个答案:

没有答案