- 博客(610)
- 资源 (5)
- 收藏
- 关注
原创 pip install django-ckeditor -i https://pypi.doubanio.com/simple/
【代码】pip install django-ckeditor -i https://pypi.doubanio.com/simple/
2024-11-08 14:22:41
277
原创 pip install fitz -i https://pypi.doubanio.com/simple/
【代码】pip install fitz -i https://pypi.doubanio.com/simple/
2024-11-01 13:26:07
265
原创 PLC 读写 西门子PLC
Python使用snap7库进行采集S7协议通信.py。OP05A保存成功反馈.py。OP05A触发.py。OP05A复位.py。
2023-12-15 14:31:36
342
原创 D:\Program Files\Python38\lib\site-packages\apscheduler\util.py:428: PytzUsageWarning: The localize
【代码】D:\Program Files\Python38\lib\site-packages\apscheduler\util.py:428: PytzUsageWarning: The localize。
2023-03-11 16:46:22
290
原创 redis 操作
启动:redis-server.exe --service-start。指令:redis-server --service-uninstall。关闭:redis-server.exe --service-stop。
2023-02-09 15:02:27
125
原创 this repository(including wiki) size 587.70 MB exceeds 500.00 MB
【代码】this repository(including wiki) size 587.70 MB exceeds 500.00 MB。
2023-01-09 09:50:56
1077
原创 Driver not loaded Driver not loaded
代码如下:import redisfrom PyQt5.Qt import *from resource.EquToMesEquipmentProcessParam_window import Ui_Formimport sysfrom PyQt5.QtCore import Qtfrom PyQt5.QtSql import QSqlDatabase, QSqlQueryModelfrom PyQt5.QtWidgets import QApplication, QMess...
2022-05-07 14:58:00
477
原创 KeyError: (‘xadmin‘, ‘logs‘)
运行:makemigrations报错:manage.py@yc_xadmin_v1 > makemigrations"C:\Program Files\JetBrains\PyCharm 2017.1.3\bin\runnerw.exe" C:\Users\huanglianggu\AppData\Local\Programs\Python\Python38\python.exe "C:\Program Files\JetBrains\PyCharm 2017.1.3\helper
2022-03-25 15:07:10
1704
1
原创 课时67.扩展的表格控件(QTableWidget)
课时67.扩展的表格控件(QTableWidget)import sysfrom PyQt5.QtWidgets import QWidget, QTableWidget, QHBoxLayout, QApplication, QTableWidgetItem, QAbstractItemViewclass TableWidgetDemo(QWidget): def __init__(self): super(TableWidgetDemo, self).__ini
2022-03-13 17:05:31
510
原创 课时66.扩展的列表控件(QListWidget)
课时66.扩展的列表控件(QListWidget)"""扩展的列表控件(QListWidget)"""from PyQt5.QtWidgets import *import sysclass ListWidgetDemo(QMainWindow): def __init__(self, parent=None): super(ListWidgetDemo, self).__init__(parent) self.setWindowTitle..
2022-03-13 16:15:49
235
原创 课时65.显示列数据(QListView控件)
课时65.显示列数据(QListView控件)"""显示列表数据(QListView控件)"""from PyQt5.QtWidgets import QApplication, QWidget, QVBoxLayout, QListView, QMessageBoxfrom PyQt5.QtCore import QStringListModelimport sysclass ListViewDemo(QWidget): def __init__(self, paren
2022-03-13 11:57:31
648
原创 AttributeError: ‘str‘ object has no attribute ‘decode‘
"D:\Program Files\JetBrains\PyCharm 2017.1.3\bin\runnerw.exe" C:\Users\qd-admin\AppData\Local\Programs\Python\Python38\python.exe "D:\Program Files\JetBrains\PyCharm 2017.1.3\helpers\pydev\pydevd.py" --multiproc --qt-support --client 127.0.0.1 --port 54...
2022-03-03 14:20:13
255
原创 Error running PyUIC: Cannot start process, the working directory ‘-m PyQt5.uic.pyuic register.ui -o
Error running PyUIC: Cannot start process, the working directory '-m PyQt5.uic.pyuic register.ui -o 解决办法:
2022-02-18 16:37:11
2690
1
原创 ModuleNotFoundError: No module named ‘xadmin‘
Failed to get real commands on module "calb_xadmin_v1": python process died with code 1: Traceback (most recent call last): File "C:\Users\huanglianggu\AppData\Local\Programs\Python\Python38\lib\site-packages\django\apps\config.py", line 118, in cre...
2022-01-17 14:18:34
1832
1
原创 ModuleNotFoundError: No module named ‘widgets‘
"C:\Program Files\JetBrains\PyCharm 2017.1.3\bin\runnerw.exe" C:\Users\huanglianggu\AppData\Local\Programs\Python\Python38\python.exe "C:\Program Files\JetBrains\PyCharm 2017.1.3\helpers\pydev\pydevd.py" --multiproc --qt-support --client 127.0.0.1 --p...
2022-01-17 11:14:19
2345
原创 P110 课时111.多线程更新UI数据
import sysimport timefrom PyQt5.QtCore import QThread, pyqtSignal, QDateTimefrom PyQt5.QtWidgets import QApplication, QDialog, QLineEdit"""P110 课时111.多线程更新UI数据"""class BackendThread(QThread): update_date = pyqtSignal(str) def run(self):.
2022-01-04 15:12:44
127
原创 设置控件的对齐方式
import sys, mathfrom PyQt5.QtWidgets import *from PyQt5.QtCore import Qt"""设置控件的对齐方式"""class HBoxLayoutAlign(QWidget): def __init__(self): super(HBoxLayoutAlign, self).__init__() self.setWindowTitle("水平盒布局") hbox_layou...
2022-01-02 18:20:40
674
原创 水平盒布局
import sys, mathfrom PyQt5.QtWidgets import *"""水平盒布局"""class HBoxLayout(QWidget): def __init__(self): super(HBoxLayout, self).__init__() self.setWindowTitle("水平盒布局") hbox_layout = QHBoxLayout() hbox_layout.addW...
2022-01-02 18:05:28
229
原创 P94 课时95.绝对布局绝对布局
import sys, mathfrom PyQt5.QtWidgets import *"""P94 课时95.绝对布局绝对布局"""class AbsoluteLayout(QWidget): def __init__(self): super(AbsoluteLayout, self).__init__() self.setWindowTitle("绝对布局") self.label1 = QLabel("欢迎", self...
2022-01-02 17:41:11
153
原创 Process finished with exit code -1073741819 (0xC0000005)
Process finished with exit code -1073741819 (0xC0000005)C:\Users\hlg\AppData\Local\Programs\Python\Python35\python.exe "D:\Program Files\JetBrains\PyCharm 2017.1.3\helpers\pydev\pydevd.py" --multiproc --qt-support --client 127.0.0.1 --port 51091 ...
2021-12-09 09:32:43
1841
安装 DjangoUeditor 之后要替换 urls.py 文件
2020-06-18
DjangoUeditor3-2.0.zip
2020-06-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人