自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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

原创 MySQL语句

【代码】MySQL语句。

2024-11-05 07:51:08 102

原创 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

原创 rabbitmq 添加账号报错

【代码】rabbitmq 添加账号报错。

2024-10-08 22:25:08 228 1

原创 备份python运行环境

【代码】备份python运行环境。

2024-10-02 15:20:21 425

原创 5个python多线程简单示例

python多线程

2024-10-01 13:13:02 926

原创 Python queue.Queue()的用法

python queue

2024-09-29 13:08:46 425

原创 创建本地多级目录

【代码】创建本地多级目录。

2024-09-19 12:36:40 131

原创 正负极层数更新器

文件名:dcs_tkinter.py。

2024-09-07 12:40:09 347

原创 bat 备份数据库

【代码】bat 备份数据库。

2024-08-17 12:59:40 196 1

原创 本地图片先压缩,再上传

【代码】本地图片先压缩,再上传。

2024-05-25 21:22:24 240

原创 PLC 读写 西门子PLC

Python使用snap7库进行采集S7协议通信.py。OP05A保存成功反馈.py。OP05A触发.py。OP05A复位.py。

2023-12-15 14:31:36 342

原创 一键升级一楼

对应版本:V20231122.1422。

2023-11-22 16:39:27 141

原创 win bat关闭防火墙

win bat关闭防火墙

2023-11-06 13:12:14 643

原创 win 服务操作 删除服务

【代码】win 服务操作 删除服务。

2023-10-24 10:42:16 160

原创 延时 启动exe程序

【代码】延时 启动exe程序。

2023-10-23 16:38:16 526

原创 bat 自动更新程序

【代码】bat 自动更新程序。

2023-10-23 13:21:26 187

原创 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

原创 执行 makemigrations 报错

执行 makemigrations VirtualCode。执行 makemigrations。

2023-01-04 10:41:10 264

原创 命令行 创建app

进入 manage.py 目录。

2022-12-16 16:35:47 167

原创 配置 pyqt5

配置 desiger

2022-11-06 21:10:07 198

原创 Mysql 迁移文件

把 E盘 对应的Data 文件夹拷贝到F盘对应位置。先在服务里关闭 mysql服务。

2022-09-08 11:11:50 447

原创 pyqt5 加了样式 运行不起来

命令行 运行 查看原因。

2022-08-16 11:44:16 180

原创 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

原创 课时64.显示二维表数据(QTableView控件)

课时64.显示二维表数据(QTableView控件)

2022-03-13 11:34:38 893

原创 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 文件

安装 DjangoUeditor 之后要替换 urls.py 文件 不然报错 /root/data/www/python3_vir/lib/python3.5/site-packages/DjangoUeditor

2020-06-18

DjangoUeditor3-2.0.zip

把 压缩文件 放到服务器上 解压 运行安装 进入 目录DjangoUeditor3-2.0 运行:python setup.py install

2020-06-18

DjangoUeditor-1.8.143.zip

DjangoUeditor-1.8.143.zip 是网上下载的

2020-06-15

grails jobs 定时任务 项目demo

grails jobs 定时任务 项目demo

2017-03-29

json json例子

是在www.w3school.com.cn 基础之上添加了一点自己的内容

2015-07-07

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除