摘要: ``` # coding:utf-8 import socket import sys import os reload(sys) sys.setdefaultencoding("utf-8") # set host and port HOST, PORT = '10.72.80.141', 8088 class SocketFromServer(): def __init__(s... 阅读全文
posted @ 2017-06-02 19:19 我的大金金 阅读(134) 评论(0) 推荐(0) 编辑
摘要: ``` # coding=utf-8 from PyQt4.QtGui import * from PyQt4.QtCore import * from MyQThread import * import sys from SocketFromServer import SocketFromServer import img class MyQMainWindowDemo(QMainWindow... 阅读全文
posted @ 2017-06-02 19:18 我的大金金 阅读(177) 评论(0) 推荐(0) 编辑
摘要: ``` # coding=utf-8 from PyQt4.QtCore import * import Tkinter as tk import os import time class MyQThread(QThread): def __init__(self, parent=None): super(MyQThread, self).__init__(parent)... 阅读全文
posted @ 2017-06-02 19:18 我的大金金 阅读(155) 评论(0) 推荐(0) 编辑