- 博客(21)
- 收藏
- 关注
原创 pyQt5-文件选择框
# -*- coding:utf-8 -*-"""@Time:2022/3/30 20:59@Author:小柠檬@File:file_dialog.py"""from PyQt5 import uic, QtCorefrom PyQt5.QtGui import QIconfrom PyQt5.QtWidgets import QApplication, QFileDialogICO_PATH = r'F:\pyDemo\other\07-gui_Qt5\02-控件\00-resour
2022-03-30 21:52:20 3007 1
原创 pyQt5-tableWidget常用方法
# -*- coding:utf-8 -*-"""@Time:2022/3/28 22:12@Author:小柠檬@File:table_widget.py"""from PyQt5 import uic, QtCorefrom PyQt5.QtGui import QIconfrom PyQt5.QtWidgets import QApplication, QTableWidgetItem, QAbstractItemViewICO_PATH = r'F:\pyDemo\other\0
2022-03-29 01:01:51 2733
原创 pyQt5-comboBox常用方法
# -*- coding:utf-8 -*-"""@Time:2022/3/24 0:06@Author:小柠檬@File:combo_box.py"""from PyQt5 import uic, QtCorefrom PyQt5.QtWidgets import QApplicationclass ComboBox: def __init__(self): # 加载UI界面 self.ui = uic.loadUi("combo_box.ui
2022-03-24 00:33:40 2290
原创 pyQt5-messageBox常用方法
# -*- coding:utf-8 -*-"""@Time:2022/3/23 22:59@Author:小柠檬@File:message_box.py"""from PyQt5 import uic, QtCorefrom PyQt5.QtWidgets import QApplication, QMessageBox, QWidgetclass MessageBox: def __init__(self): # 加载UI界面 self.ui
2022-03-23 23:39:44 700
原创 pyQt5_checkBox常用方法
# -*- coding:utf-8 -*-"""@Time:2022/3/23 22:24@Author:小柠檬@File:check_box.py"""from PyQt5 import uic, QtCorefrom PyQt5.QtWidgets import QApplicationclass CheckBox: def __init__(self): # 加载UI界面 self.ui = uic.loadUi("check_box.u
2022-03-23 22:45:41 3120 1
原创 pyQt5_radioButton常用方法
# -*- coding:utf-8 -*-"""@Time:2022/3/23 21:44@Author:小柠檬@File:radio_button.py"""from PyQt5 import uic, QtCorefrom PyQt5.QtWidgets import QApplicationclass RadioButton: def __init__(self): # 加载UI界面 self.ui = uic.loadUi("radio
2022-03-23 22:21:18 4162
原创 pyQt5-pushButton常用方法
# -*- coding:utf-8 -*-"""@Time:2022/3/23 21:04@Author:小柠檬@File:push_button.py"""from PyQt5 import uic, QtCorefrom PyQt5.QtWidgets import QApplicationclass PushButton: def __init__(self): # 加载UI界面 self.ui = uic.loadUi("push_bu
2022-03-23 21:38:13 1322
原创 pyQt5-plainTextEdit常用方法
# -*- coding:utf-8 -*-"""@Time:2022/3/23 19:57@Author:小柠檬@File:plain_text_edit.py"""import timefrom PyQt5 import uic, QtCorefrom PyQt5.QtCore import QThread, pyqtSignalfrom PyQt5.QtWidgets import QApplicationclass AppendThread(QThread): sig
2022-03-23 21:01:43 2800
原创 pyQt5-textEdit常用方法
# -*- coding:utf-8 -*-"""@Time:2022/3/23 19:18@Author:小柠檬@File:text_edit.py"""import timefrom PyQt5 import uic, QtCorefrom PyQt5.QtCore import QThread, pyqtSignalfrom PyQt5.QtWidgets import QApplicationclass AppendThread(QThread): # 追加线程
2022-03-23 20:04:32 8084
原创 pyQt5-lineEdit常用方法
# -*- coding:utf-8 -*-"""@Time:2022/3/23 17:55@Author:小柠檬@File:line_edit.py"""from PyQt5 import uic, QtCorefrom PyQt5.QtCore import QRegExpfrom PyQt5.QtGui import QRegExpValidatorfrom PyQt5.QtWidgets import QApplicationclass LineEdit: # 只能单
2022-03-23 19:15:21 7983
原创 pyQt5-textBrowser常用方法
# -*- coding:utf-8 -*-"""@Time:2022/3/22 21:53@Author:小柠檬@File:text_browser.py"""import timefrom PyQt5 import uic, QtCorefrom PyQt5.QtCore import QThread, pyqtSignal, QObjectfrom PyQt5.QtWidgets import QApplicationclass UpdateThread(QThread):
2022-03-23 17:47:26 17304 2
原创 pyQt5-label常用方法
# -*- coding:utf-8 -*-"""@Time:2022/3/22 20:01@Author:小柠檬@File:label.py"""from PyQt5 import uic, QtCorefrom PyQt5.QtGui import QPixmapfrom PyQt5.QtWidgets import QApplicationclass Label: def __init__(self): # 加载UI界面 self.ui =
2022-03-22 21:47:23 814 2
原创 python-进程线程协程
python-进程,线程,协程源码#-*- coding = utf-8 -*-#Time : 2020/11/5 #Author : 小柠檬#File : 进程线程协程.pyimport gevent.poolimport gevent.monkeygevent.monkey.patch_all()import requestsimport jsonimport timeimport urllib3import threadingfrom multiprocessing impo
2021-02-10 11:59:34 131
原创 python-活动秒杀模板
python-活动秒杀模板源码#-*- coding = utf-8 -*-#Time : 2021/1/13 #Author : 小柠檬#File : 秒杀模板.pyimport gevent.poolimport gevent.monkeygevent.monkey.patch_all()import requestsimport jsonimport timeimport threadingdef lottery(a): url = 'https://iosapi.p
2021-02-10 11:53:32 258 2
原创 python-短网址批量还原
python-短网址批量还原源码#-*- coding = utf-8 -*-#Time : 2021/1/23 #Author : 小柠檬#File : 短网址.pyimport gevent.poolfrom gevent import monkeymonkey.patch_all()import requestsimport jsonimport osimport refrom urllib.parse import unquoteimport timedef makeF
2021-02-10 11:51:44 1319 1
原创 python-电脑时间校准
python-电脑时间校准源码#-*- coding = utf-8 -*-#Time : 2021/1/22 #Author : 小柠檬#File : 时间校准.pyimport ntplibimport osimport datetimeimport timedef ntpClient(): hosts = ['0.cn.pool.ntp.org', '1.cn.pool.ntp.org', '2.cn.pool.ntp.org', '3.cn.pool.ntp.org']
2021-02-10 11:49:42 811 1
原创 python-批量生成二维码
python-批量生成二维码源码#-*- coding = utf-8 -*-#Time : 2021/2/8 #Author : 小柠檬#File : 二维码生成.pyimport geventimport gevent.poolimport gevent.monkeygevent.monkey.patch_all()import requestsimport osimport shutildef makeFile(): #创建文件夹和文件 if os.path.
2021-02-10 11:43:05 474 1
原创 python-QQ群扫码登录(QQ群验证)
python-QQ群扫码登录源码#-*- coding = utf-8 -*-#@Time : 2020/9/27 #@Author : 小柠檬#@File : QQ扫码登录QQ群官网.py#@Software: import requestsfrom PIL import Imageimport timeimport reimport sysdef bkn(Skey): t = 5381 n = 0 o = len(Skey) while n <
2021-02-10 11:40:25 2269 6
原创 python-QQ空间扫码登录
python-QQ空间扫码登录源码#-*- coding = utf-8 -*-#Time : 2021/1/20 #Author : 小柠檬#File : QQ空间扫码登录模板.pyimport requestsfrom PIL import Imageimport timeimport redef bkn(pSkey): #计算bkn t,n,o = 5381,0,len(pSkey) while n < o: t += (t <
2021-02-10 11:37:08 14923 4
原创 python-京东扫码登录
python-京东扫码登录源码#-*- coding = utf-8 -*-#Time : 2021/2/9 #Author : 小柠檬#File : 京东扫码登录.pyimport requestsfrom PIL import Imageimport timeimport redef timer(): #输出时间 t = time.strftime('%H:%M:%S') return tdef loginQrCode(): #获取登录二维码
2021-02-10 11:31:45 3265 1
原创 python-取指定文件行
博客之旅开始啦~既然开始写博客,怎能缺少自我介绍呢,哈哈!我叫大哥哥,是一名python爱好者,我之前是学易语言的,当我接触到python之后,就被python优雅的语法深深所吸引,带着极大的兴趣,慢慢的入门了python,学了python之后,易语言就再没打开过,或许,这就是python的魅力吧~写博客呢,也是想记录一下平时写过的代码和思路,更多的是,和更多的人互相交流,发现自己的不足,如果大家发现我写的有不对的地方或者有更优雅的写法,请不要吝啬你的建议哇~python-取指定文件行功能提取文本
2021-01-26 13:19:52 1071
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人