#!/usr/bin/env python
-- coding: utf-8 --
import os
import socket, threading
from tkinter import *
import time
LOG_LINE_NUM = 0
class MY_GUI():
def init(self, init_window_name):
self.init_window_name = init_window_name
def set_init_window(self):
self.init_window_name.title("端口扫描工具_v1.0")
self.init_window_name.geometry('1068x681+10+10')
self.init_data_label = Label(self.init_window_name, text="IP地址:")
self.init_data_label.grid(row=0, column=0)
self.init_port_label = Label(self.init_window_name, text="端口:")
self.init_port_label.grid(row=6, column=0)
self.log_label = Label(self.init_window_name, text="日志:")
self.log_label.grid(row=12, column=0)
self.result_desPort_label = Label(self.init_window_name, text=&#