![coolterm serial port error coolterm serial port error](https://community.intel.com/cipcp26785/attachments/cipcp26785/makers/43242/1/ports.png)
![coolterm serial port error coolterm serial port error](http://www.filesoul.com/img1/img/screenshot/Serial-Port-Monitor-518_1.png)
add_cascade (label = "File (F)", menu =file_menu )Įdit_menu = Menu (menu, tearoff = False )Įdit_menu_list = ( "Start", "time out", "stop", "Cloud Sync", "Add port", "Delete Port", "Clear", "Clear Sending History", "Line Mode" ) for i in range ( 0, len (edit_menu_list ) ) : if i = 3 or i = 4 or i = 6 or i = 8 :Įdit_menu. Ctrl+S", "Save configuration as.", "Save message.", "View the current message log", "Open the message log folder", "Exit (X)" ) for i in range ( 0, len (file_menu_list ) ) : if i = 4 or i = 7 :įile_menu. Data_Init ( ) def Menu_Init (self, windows ) : # Menu bar initializationįile_menu = Menu (menu, tearoff = False )įile_menu_list = ( "New.", "Open configuration.", "Save configuration. resizable (width = False, height = False ) # Whether the window size is variable geometry ( str (width ) + "x" + str (height ) ) # The following three libraries are personal private libraries, you can define and replace yourself to modify related content from PySerialPortDataBase import PYSP_DBįrom PySerialPortDataBase import PYSP_WINĬlass Windows : def _init_ (self, master, width = 690, height = 490 ) : _author_ = # Python serial port tool window from tkinter import * from tkinter import ttk
COOLTERM SERIAL PORT ERROR CODE
Part of the UI interface code # !/usr/bin/python 3.6.5 # -*- coding:utf-8 -*. If you copy the following code directly, you need to modify it to run. Some personally-written modules are not uploaded here. Note: There is only the UI part in the code, which is only for your reference to the tkinter library. So use this article to record the usage of each control, which is convenient for all netizens to inquire and refer. Most of the commonly used controls in the tkinter library are called in the application. The tool uses a slightly more complicated interface.
![coolterm serial port error coolterm serial port error](https://i.stack.imgur.com/XOD8q.jpg)
Use python's own GUI library tkinter to design a serial port tool imitating the "friendly serial port assistant". Use python's tkinter to simulate the "friendly serial port assistant" interface