摘要:
2016-09-06 15:19:59 PyQt5 QTextEdit 追加写入 / 分行写入 #!/usr/bin/env python3 # Author:1626478661# Date:2016-09-06 15:28:21# PyQt5 QTextEdit from PyQt5 import QtWidgets, QtCore, QtGuifrom PyQt5.QtWidgets imp... 阅读全文
摘要:
2016/7/20 1:14:45 code#!/usr/bin/env python ################################################################################# Copyright (C) 2013 Riverbank Computing Limited.## Copyright (C) 2010 Nok... 阅读全文
摘要:
2016/7/20 21:22:32 使用QIconfrom PyQt5.Qt import QIconself.setWindowIcon(QIcon('img/0719/Icon.jpg'))效果: 2016/7/20 21:38:21 加载本地图片 code:from PyQt5.QtCore import *from PyQt5.QtGui import *from PyQt5.QtWi... 阅读全文
摘要:
2016/5/9 14:17:40 # -*- coding: utf-8 -*-import urllibimport urllib.requestfrom bs4 import BeautifulSoupclass QiuShi(): def __init__(self): user_agent = 'Mozilla/4.0 (compatible; MSIE 5.5... 阅读全文
摘要:
2016-09-06 10:33:36 PyQT5 tableview 背景颜色 from PyQt5.QtGui import * from PyQt5.Qt import *from PyQt5.QtCore import * class MyDialog(QDialog): def __init__(self, parent=None): super... 阅读全文