python
chaojishuai123
这个作者很懒,什么都没留下…
展开
-
conda的常用命令整理
conda的常用命令整理1更换镜像源2python环境方面 1更换镜像源 1)恢复默认镜像源: conda config --remove-key channels 2)更换国内镜像源 2python环境方面 1)创建环境 conda create -n XXX(名字) python=XXX(python版本如“3.8”) 2)移除某个python环境 conda remove -n XXX(名字) --all 3)查看当前所有环境 conda env list 4)复制虚拟环境 conda cr原创 2021-11-05 10:05:05 · 191 阅读 · 0 评论 -
使用python批量重命名图片
环境:python3.7,windows10 批量重命名图片 # -*- coding:utf-8 -*- import os class ImageRename(): def __init__(self): self.path = '..\\Desktop\\Pic' def rename(self): filelist = os.listdir(self.path) total_num = len(filelist)原创 2021-06-11 15:16:10 · 131 阅读 · 0 评论