资源简介

串口调试助手

资源截图

代码片段和文件信息

#! /usr/bin/env python
# -*- coding: utf-8 -*-

import time
import logging
import datetime
import binascii
import platform
import threading
import tkinter.ttk as ttk
import tkinter.font as tkFont
import tkinter as tk

from UI.MainFrm import Mainframe
from Utils.SerialHelper import SerialHelper

# 根据系统 引用不同的库
if platform.system() == “Windows“:
    from serial.tools import list_ports
else:
    import glob
    import os
    import re

logging.basicConfig(level=logging.DEBUG
                    format=‘%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s‘
                    datefmt=‘%a %d %b %Y %H:%M:%S‘)

# 结束符(16进制)CR 13(\r - 0x0D); NL(LF) 10(\n - 0x0A)
END_HEX = “0D0A“


class MainSerialTool(Mainframe):
    ‘‘‘
    main func class
    ‘‘‘

    def __init__(self master=None):
        super(MainSerialTool self).__init__(master)
        self.root = master

        self.serial_receive_count = 0
        self.serial_recieve_data = ““
        self.serial_listbox = list()


 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件        315  2018-01-16 11:13  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\.gitignore

     文件        185  2018-04-10 15:41  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\.idea\misc.xml

     文件        274  2018-04-10 15:41  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\.idea\modules.xml

     文件        398  2018-04-10 15:42  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\.idea\Serial-Tool.iml

     文件        180  2018-04-10 15:41  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\.idea\vcs.xml

     文件      37380  2018-04-12 18:13  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\.idea\workspace.xml

     文件        382  2018-04-02 10:35  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\.project

     文件        315  2018-04-02 10:35  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\.pydevproject

     文件        315  2018-04-02 10:35  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\.pydevproject.bak

     文件         55  2018-04-02 10:35  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\.settings\org.eclipse.core.resources.prefs

     文件      23558  2018-01-16 11:13  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\Images\serial_tool.png

     文件      11117  2018-01-16 11:14  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\main.py

     文件      65704  2018-01-16 11:13  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\MONACO.TTF

     文件       2635  2018-01-16 11:14  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\README.md

     文件       3697  2018-01-16 11:14  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\MainFrm.py

     文件       7711  2018-01-16 11:14  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\PyTkinter.py

     文件      12470  2018-01-16 11:14  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\SerialFrm.py

     文件          0  2018-01-16 11:13  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\__init__.py

     文件       4623  2018-01-16 11:19  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\__pycache__\MainFrm.cpython-35.pyc

     文件       4404  2019-11-26 21:52  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\__pycache__\MainFrm.cpython-36.pyc

     文件       8014  2018-01-16 11:19  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\__pycache__\PyTkinter.cpython-35.pyc

     文件       7300  2019-11-26 21:52  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\__pycache__\PyTkinter.cpython-36.pyc

     文件       8914  2018-01-16 11:19  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\__pycache__\SerialFrm.cpython-35.pyc

     文件       7890  2019-11-26 21:52  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\__pycache__\SerialFrm.cpython-36.pyc

     文件        147  2018-01-16 11:19  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\__pycache__\__init__.cpython-35.pyc

     文件        217  2019-11-26 21:52  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\UI\__pycache__\__init__.cpython-36.pyc

     文件       5451  2018-04-11 18:13  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\Utils\SerialHelper.py

     文件          0  2018-01-16 11:13  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\Utils\__init__.py

     文件       5726  2018-04-11 18:14  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\Utils\__pycache__\SerialHelper.cpython-35.pyc

     文件       5318  2019-11-26 21:52  python3+Tkinter+GUI界面+pyserial+串口+串口调试助手\Serial-Tool\Utils\__pycache__\SerialHelper.cpython-36.pyc

............此处省略16个文件信息

评论

共有 条评论