03 2024 档案

摘要:utils.py: import functools import re from datetime import datetime, timedelta from typing import Union # pip install python-dateutil from dateutil imp 阅读全文
posted @ 2024-03-20 11:32 waketzheng 阅读(26) 评论(0) 推荐(0) 编辑
摘要:FastDFS(https://github.com/happyfish100/fastdfs/wiki)推荐的nginx启动方式是直接执行/usr/local/nginx/sbin/nginx 如果配成用systemctl管理的话,更符合常规使用习惯,而且可以设为开机启动,具体如下: /lib/s 阅读全文
posted @ 2024-03-16 11:04 waketzheng 阅读(74) 评论(0) 推荐(0) 编辑
摘要:代码如下: from io import BytesIO from pathlib import Path from typing import Annotated, Literal, Optional, Tuple, Union # pip install pillow opencv-python 阅读全文
posted @ 2024-03-13 20:24 waketzheng 阅读(127) 评论(0) 推荐(0) 编辑

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