python mysql 数据记录转成json串
# -*- coding: utf-8 -*-import osimport xlrdimport datetimeimport jsonimport sysimport reimport pymysqlimport pandas as pdparent_path = os.path.dirname(sys.path[0])if parent_path not in sys.path: sys.path.append(parent_path)today = datetim.