上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页
摘要: models.AutoField 作用说明:默认生成列名为 id 的列,并设置为主键 数据类型:int(11) 必备参数:primary_key = True 作为主键存在 主键django会默认自带 ColName = models.AutoField(primary_key = True) 2. 阅读全文
posted @ 2024-07-15 16:28 星空28 阅读(75) 评论(0) 推荐(0)
摘要: 产品设计软件 参考https://blog.csdn.net/LAO__LIN/article/details/131927865 阅读全文
posted @ 2024-07-12 14:51 星空28 阅读(62) 评论(0) 推荐(0)
摘要: 参考 https://www.cnblogs.com/mic112/p/15416875.html https://www.cnblogs.com/mic112/p/15420129.html 阅读全文
posted @ 2024-07-12 14:06 星空28 阅读(13) 评论(0) 推荐(0)
摘要: 参考https://blog.csdn.net/m0_71406734/article/details/133820587 阅读全文
posted @ 2024-07-12 11:13 星空28 阅读(13) 评论(0) 推荐(0)
摘要: 1、为什么要使用redis做缓存服务器? 2、redis的主从复用如何实现? 3、redis的主备切换如何实现? 4、怎么解决缓存的实时更新? 5、缓存雪崩如何处理? 6、缓存穿透如何处理? 阅读全文
posted @ 2024-07-11 17:58 星空28 阅读(11) 评论(0) 推荐(0)
摘要: redis下载地址:http://redis.io/ import redis redis_conn = redis.Redis(host='127.0.0.1', port=6379) for key in redis_conn.keys(): redis_conn.delete(key) 使用h 阅读全文
posted @ 2024-07-11 17:46 星空28 阅读(21) 评论(0) 推荐(0)
摘要: 服务端代码 #! /usr/bin/env python #-*- coding:utf-8 -*- import socket import threading class ThreadedServer(object): def __init__(self, host, port): self.h 阅读全文
posted @ 2024-06-28 14:09 星空28 阅读(53) 评论(0) 推荐(0)
摘要: import os import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * if __name__ == '__main__': app = QApplication( 阅读全文
posted @ 2024-06-15 05:35 星空28 阅读(37) 评论(0) 推荐(0)
摘要: import os import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtWebEngineWidgets import * class W 阅读全文
posted @ 2024-06-14 17:21 星空28 阅读(65) 评论(0) 推荐(0)
摘要: """ 加载本地web页面 """ import os import sys from PyQt5.QtCore import * from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PyQt5.QtWebEngineWidget 阅读全文
posted @ 2024-06-14 17:14 星空28 阅读(49) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 14 下一页