会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
michaelchengjl
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
20
21
···
44
下一页
2023年6月30日
Python pygments库
摘要: # Python pygments库 简单介绍 pygments是一个将代码格式化的Python库,可以将代码格式化为html代码、图片、rtf文件等多种格式。 [官网:pygments.org](https://pygments.org/) [PyPI:pygments](https://pypi
阅读全文
posted @ 2023-06-30 16:21 michaelchengjl
阅读(390)
评论(0)
推荐(0)
2023年6月29日
python 字符串前加f、r、b、u
摘要: # python 字符串前加f、r、b、u ### 一、字符串前加"f" 1. **%** 可以使用 % 格式化字符串。 ``` c = (250, 250) # 使用 % 格式化 s1 = "坐标为:%s" % c # TypeError: not all arguments converted
阅读全文
posted @ 2023-06-29 18:49 michaelchengjl
阅读(345)
评论(0)
推荐(0)
python 中 fnmatch模块, textwrap 模块
摘要: # python 中 fnmatch模块, textwrap 模块 **fnmatch模块** 查找文件 使用fnmatch来查找特定的文件,大部分情况下,使用字符串匹配查找特定的文件就能满足需求,如果需要更加灵活的字符串匹配,可以使用标准库中的fnmatch库,这个库专门用来进行文件名匹配,支持使
阅读全文
posted @ 2023-06-29 18:37 michaelchengjl
阅读(612)
评论(0)
推荐(0)
2023年6月28日
Python Tox介绍和使用
摘要: # Python Tox介绍和使用 tox.ini 是一个配置文件,用于配置和运行项目的测试环境。在 tox.ini 中,你可以指定项目所依赖的 Python 版本,以及需要安装的 Python 包。你还可以配置各种测试场景,例如运行单元测试、集成测试等等。在项目根目录下运行 tox 命令,tox
阅读全文
posted @ 2023-06-28 10:30 michaelchengjl
阅读(980)
评论(0)
推荐(0)
2023年6月27日
安装faiss-gpu失败的问题
摘要: # 安装faiss-gpu失败的问题 安装faiss-gpu出现问题: 尝试使用: ``` conda install -c conda-forge faiss-gpu ``` 或者用对应的whl 包 https://github.com/kyamagu/faiss-wheels/releases/
阅读全文
posted @ 2023-06-27 11:40 michaelchengjl
阅读(2436)
评论(0)
推荐(0)
2023年6月16日
Docker 登录英伟达 Nvidia NGC 下载容器镜像教程
摘要: # Docker 登录英伟达 Nvidia NGC 下载容器镜像教程 https://blog.itdevwu.com/post/1821/
阅读全文
posted @ 2023-06-16 19:07 michaelchengjl
阅读(707)
评论(0)
推荐(0)
2023年6月2日
cpu ,进程,线程
摘要: cpu ,进程,线程 https://www.cnblogs.com/shijiaqi1066/p/3836017.html https://zhuanlan.zhihu.com/p/79772089 https://blog.csdn.net/qq_40317897/article/details
阅读全文
posted @ 2023-06-02 11:01 michaelchengjl
阅读(25)
评论(0)
推荐(0)
2023年6月1日
docker 容器中 os.cpu_count() , multiprocessing.cpu_count() 都为物理机cpu 数
摘要: # docker 容器中 os.cpu_count() , multiprocessing.cpu_count() 都为物理机cpu 数 不论起容器的时候 是否加 --cpus 1 --cpuset-cpus 0 docker 容器中 os.cpu_count() , multiprocessing
阅读全文
posted @ 2023-06-01 20:21 michaelchengjl
阅读(343)
评论(0)
推荐(0)
2023年5月30日
git 版本分支管理
摘要: # git 版本分支管理 https://www.jianshu.com/p/c35b939c5270 https://cloud.tencent.com/developer/article/1592957 https://blog.csdn.net/ShuSheng0007/article/det
阅读全文
posted @ 2023-05-30 20:24 michaelchengjl
阅读(16)
评论(0)
推荐(0)
git 基础
摘要: # git 基础  下面是我整理的常用 Git 命令清单。几个专用名词的译名如下。 Workspace:
阅读全文
posted @ 2023-05-30 20:15 michaelchengjl
阅读(28)
评论(0)
推荐(0)
上一页
1
···
13
14
15
16
17
18
19
20
21
···
44
下一页
公告