02 2018 档案

摘要:>>> class test(): def __init__(self): pass def __repr__(self): return '1sdf' >>> t = test() >>> t #不用print 直接打印出重构的值,面向程序,在程序中传递 1sdf >>> class test(Exception): def __i... 阅读全文
posted @ 2018-02-28 16:47 我是外婆 阅读(136) 评论(0) 推荐(0)
摘要:from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.Qt import * import sys, os, time, types class FileInfoTableWidget(QTableWidget): global_row_font =... 阅读全文
posted @ 2018-02-24 14:50 我是外婆 阅读(2145) 评论(0) 推荐(0)
摘要:# 效果图 阅读全文
posted @ 2018-02-07 18:29 我是外婆 阅读(575) 评论(0) 推荐(0)
摘要:from PyQt5.QtWidgets import * from PyQt5.QtCore import * from PyQt5.QtGui import * import sys class Example(QWidget): _startPos = None _endPos = None _isTracking = False def __init... 阅读全文
posted @ 2018-02-07 11:13 我是外婆 阅读(4321) 评论(1) 推荐(1)
摘要:from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * from demo_6 import * import sys class ToolBar(QMainWindow): def __init__(self): super().__init__() ... 阅读全文
posted @ 2018-02-07 10:49 我是外婆 阅读(511) 评论(0) 推荐(0)