当前位置:网站首页>推荐一个摆脱变量名纠结的神器和批量修改文件名方法
推荐一个摆脱变量名纠结的神器和批量修改文件名方法
2022-07-28 07:55:00 【51CTO】
微信公众号:AI算法与图像处理
命名工具介绍
工具网址:
网站地址:https://unbug.github.io/codelf/
工具介绍

输入要起名的变量,可以是中文或者英文。
批量修改文件名
简介
os库的使用:
os.getcwd(): 获取当前目录
思路
1、获取要重命名的 文件夹名字文件名字
代码
运行效果:

请输入要重命名的文件夹:test

路径对于初学者是一个很容易犯错的问题很烦的,我刚开始的也是也特别讨厌路径的东西,总觉得很复杂,大家可以去了解一下,绝对路径相对路径的概念和使用,非常的有帮助的。

END


边栏推荐
- Detailed explanation of MSTP protocol for layer 3 switch configuration [Huawei ENSP experiment]
- 'global event bus' &' message subscription and Publishing '
- Export SQL server query results to excel table
- Bluetooth technology | it is reported that apple, meta and other manufacturers will promote new wearable devices, and Bluetooth will help the development of intelligent wearable devices
- [soft test software evaluator] 2013 comprehensive knowledge over the years
- Mongodb (compare relational database, cloud database, common command line, tutorial)
- What are the main uses of digital factory management system
- 置顶各大平台,22版面试核心知识解析笔记,强势上榜
- (13) Simple temperature alarm device based on 51 single chip microcomputer
- 1299_ Task status and switching test in FreeRTOS
猜你喜欢

Ciou loss

Alibaba technology has four sides + intersection +hr, and successfully got the offer. Can't double non undergraduate students enter the big factory?

Digital signatures and Ca certificates

Source code analysis of linkedblockingqueue

解决:IndexError: index 13 is out of bounds for dimension 0 with size 13

Argocd Web UI loading is slow? A trick to teach you to solve

Huid learning 7: Hudi and Flink integration

Dry goods semantic web, Web3.0, Web3, metauniverse, these concepts are still confused? (top)

What are the main uses of digital factory management system

Div tags and span Tags
随机推荐
How to import and export Youxuan database
快速搭建一个网关服务,动态路由、鉴权的流程,看完秒会(含流程图)
49 opencv deep analysis profile
Chapter 2-14 sum integer segments
Quickly build a gateway service, dynamic routing and authentication process, and watch the second meeting (including the flow chart)
Chapter 2-2 calculation of piecewise function [1]
创建线程的3种方式
Div tags and span Tags
Leetcode brushes questions. I recommend this video of the sister Xueba at station B
Explain cache consistency and memory barrier
Competition: diabetes genetic risk detection challenge (iFLYTEK)
Mongodb (compare relational database, cloud database, common command line, tutorial)
Win the bid! Nantah general gbase 8s won the bid for the 2022 database framework project of NARI Group
Machine learning how to achieve epidemic visualization -- epidemic data analysis and prediction practice
How to obtain the subordinate / annotation information of KEGG channel
Post it notes -- 45 {packaging of the uniapp component picker, for data transmission and processing -- Based on the from custom packaging that will be released later}
NDK 系列(6):说一下注册 JNI 函数的方式和时机
Introduction to self drive tour of snow mountains in the West in January 2018
Oracle SQL problems
Hyperlink label