摘要: ``` import csv def parseCSVFileStr(data): """ 将csv转换为 [{},{},{},{},{},{},] 形式的列表 """ titleFlag = 0 ldata = [] ltitle = [] data = data.replace('"', '') 阅读全文
posted @ 2023-06-03 14:03 太晓 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 常用 ``` # float 整数位为秒 time.time() # struct_time time.localtime() # string time.ctime() # string time.asctime() ``` 转换 ``` # struct_time time.localtime( 阅读全文
posted @ 2023-06-03 11:35 太晓 阅读(2) 评论(0) 推荐(0) 编辑