上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 27 下一页
摘要: 写的很好 import pymysql conn = pymysql.connect(host = '127.0.0.1',port = 3306,user = 'root',passwd = '123',db = 'sqlexample') #创建连接(连接数据库) cursor = conn.c 阅读全文
posted @ 2020-10-25 15:45 然终酒肆 阅读(821) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/yangming1996/p/10416499.html https://blog.csdn.net/a88055517/article/details/6736284 阅读全文
posted @ 2020-10-25 10:06 然终酒肆 阅读(51) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/pcent/article/details/78643611 阅读全文
posted @ 2020-10-25 10:04 然终酒肆 阅读(300) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_33557833/article/details/78035807 阅读全文
posted @ 2020-10-23 18:17 然终酒肆 阅读(71) 评论(0) 推荐(0) 编辑
摘要: # 显示控件提示消息 import sys from PyQt5.QtWidgets import QHBoxLayout,QMainWindow,QApplication,QToolTip,QPushButton,QWidget from PyQt5.QtGui import QFont clas 阅读全文
posted @ 2020-10-22 00:17 然终酒肆 阅读(592) 评论(0) 推荐(0) 编辑
摘要: import sys from PyQt5.QtWidgets import QMainWindow,QApplication from PyQt5.QtGui import QIcon ''' 窗口的setWindowIcon方法用于设置窗口的图标,只在Windows中可用 QAplication 阅读全文
posted @ 2020-10-22 00:12 然终酒肆 阅读(1934) 评论(0) 推荐(0) 编辑
摘要: 我们直接用代码去理解屏幕坐标系 import sys from PyQt5.QtWidgets import QHBoxLayout,QMainWindow,QApplication,QPushButton,QWidget def onClick_Button(): print("1") print 阅读全文
posted @ 2020-10-21 23:49 然终酒肆 阅读(609) 评论(0) 推荐(0) 编辑
摘要: import sys from PyQt5.QtWidgets import QHBoxLayout,QMainWindow,QApplication,QPushButton,QWidget class QuitApplication(QMainWindow): def __init__(self) 阅读全文
posted @ 2020-10-21 22:45 然终酒肆 阅读(2418) 评论(0) 推荐(0) 编辑
摘要: # QDesktopWidget import sys from PyQt5.QtWidgets import QDesktopWidget,QMainWindow,QApplication from PyQt5.QtGui import QIcon class CenterForm(QMainWi 阅读全文
posted @ 2020-10-21 22:07 然终酒肆 阅读(208) 评论(0) 推荐(0) 编辑
摘要: import sys from PyQt5.QtWidgets import QMainWindow,QApplication from PyQt5.QtGui import QIcon class FirstMainWin(QMainWindow): def __init__(self): sup 阅读全文
posted @ 2020-10-21 21:42 然终酒肆 阅读(163) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 27 下一页