摘要: # -*- coding:utf-8 -*- import socket import select class testserver(): def __init__(self): self.serversocket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.serversocket... 阅读全文
posted @ 2019-04-24 18:29 1553 阅读(377) 评论(0) 推荐(0) 编辑
摘要: 忘了出处是哪儿 ,实现很巧妙 阅读全文
posted @ 2019-04-23 14:46 1553 阅读(107) 评论(0) 推荐(0) 编辑
摘要: page.htm 阅读全文
posted @ 2019-04-23 14:39 1553 阅读(3330) 评论(0) 推荐(0) 编辑
摘要: // 时间戳转时间 function time(time = +new Date()) { var date = new Date((time + 8 * 3600) * 1000); return date.toJSON().substr(0, 19).replace('T', ' '); } / 阅读全文
posted @ 2019-04-23 11:04 1553 阅读(138) 评论(0) 推荐(0) 编辑
摘要: from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtCore import Qt, QSortFilterProxyModel from PyQt5.QtWidgets import QCompleter, QComboBox class ExtendedComboBox(QComboBox): def __init__(se... 阅读全文
posted @ 2019-04-22 18:30 1553 阅读(5047) 评论(0) 推荐(1) 编辑