12 2021 档案

摘要:# coding:utf-8 from idna import unichr def all_to_half(all_string): """全角转半角""" half_string = "" for char in all_string: inside_code = ord(char) if in 阅读全文
posted @ 2021-12-23 20:25 eliwang 阅读(475) 评论(0) 推荐(0) 编辑
摘要:rocketmq-python 是一个基于 rocketmq-client-cpp 封装的 RocketMQ Python 客户端。 一、Producer #coding:utf-8import json from rocketmq.client import Producer, Message p 阅读全文
posted @ 2021-12-16 16:05 eliwang 阅读(4507) 评论(0) 推荐(0) 编辑
摘要:对xlsx文件和csv文件进行相互转换,我们可以借助pandas来实现 一、安装pandas pip3 install pandas 二、xlsx文件转csv文件 import pandas as pd data = pd.read_excel('test.xlsx',index_col=0) # 阅读全文
posted @ 2021-12-02 12:09 eliwang 阅读(2310) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示