随笔分类 -  python

摘要:import binascii import sys import threading import serial # 导入模块 import serial.tools.list_ports STRGLO="" #读取的数据 BOOL=True #读取标志位 def get_serial_port_ 阅读全文
posted @ 2020-10-16 15:10 耀耀王 阅读(528) 评论(0) 推荐(0)
摘要:1.把doc文件复制到记事本里2.python代码asn_statu = 0asn_txt_list = []with open("D:/share/doc/38413.txt",encoding="gbk") as file: last_line = "" for line in file: if 阅读全文
posted @ 2020-07-07 12:35 耀耀王 阅读(313) 评论(0) 推荐(0)