08 2023 档案

摘要:### 配置访问:root、alias、error_page ```nginx server { listen 80; server_name localhost; # 访问 location ^~/abc { default_type text/plain; return 200 "Welcome 阅读全文
posted @ 2023-08-30 12:05 PythonNew_Mr.Wang 阅读(159) 评论(0) 推荐(0) 编辑
摘要:安装docker 首先安装yum-utils,以便添加 Docker 的源 yum install -y yum-utils yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo 安 阅读全文
posted @ 2023-08-22 16:26 PythonNew_Mr.Wang 阅读(16) 评论(0) 推荐(0) 编辑
摘要:```python class Main(QWidget, Ui_Form): def __init__(self): super(Main, self).__init__() self.setupUi(self) QTimer.singleShot(0, self.thread_check) # 阅读全文
posted @ 2023-08-13 14:52 PythonNew_Mr.Wang 阅读(523) 评论(0) 推荐(0) 编辑
摘要:```python # 线程函数 class WorkerThread(QThread): resultReady = pyqtSignal(object) def __init__(self, func, *args, **kwargs): super().__init__() self.func 阅读全文
posted @ 2023-08-13 14:17 PythonNew_Mr.Wang 阅读(131) 评论(0) 推荐(0) 编辑
摘要:### 1:简单创建添加文字到图片 ```python from PIL import Image, ImageDraw, ImageFont, ImageFilter # 导入PIL库中的相关模块 import random # 导入random库 # 创建一个图片对象 (200, 100) 为 阅读全文
posted @ 2023-08-01 16:55 PythonNew_Mr.Wang 阅读(239) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示