python file renaming tool

A few days ago, I saw a request on a certain job website, but if I want to do it, I have to spend a lot of money to bid first. If I don’t win, I won’t get a refund. It looks very ugly. I will post the source code here for free use by […]

python3 ConfigParser configuration file parsing (config.ini) .ini file node field naming specification (python configuration file)

It feels more comfortable to write it like this. . . Article directory Python3 ConfigParser configuration file parsing What is ConfigParser How to use ConfigParser Read configuration file Read with the specified type (getint(), getboolean(), getfloat()) (if you use `[]` to read, you need to convert manually) Write configuration file Delete configuration Common problems and […]

Go, start with naming! Go’s full list of keywords and identifiers manual and code examples!

Directory 1. Go keyword list and classification introduce Positioning of keywords in Go cornerstone of language Simplicity and efficiency Scalability and flexibility Keyword classification Declare various code elements Literal representation of a composite type Basic flow control syntax Coroutines and deferred function calls 2. Go keyword full code example Keyword full code example 3. Go […]

Cross-compiler naming rules and detailed explanation (arm/gnu/none/linux/eabi/eabihf/gcc/g++)

When engaging in embedded development under Linux systems, a cross-compiler is definitely an essential tool. When used in many situations, you will see various compilation tools, such as: arm-linux-gcc arm-linux-gnueabi-gcc arm-none-linux-eabi-gcc arm-none-symbianelf-gcc arm-none-uclinuxeabi-gcc arm-none-linux-gnueabi-gcc arm-cortex_a8-linux-gnueabi-gcc mips-malta-linux-gnu-gcc Do you know why these compilation tools are called so, what their respective meanings are, and in what situations […]

[Effective Go] Formatting + code comments + naming + semicolons + control structures for efficient Go programming

source 1. Formatting ? Formatting is the most controversial but least important issue. In the Go language, use gofmt to format the program, such as the following code: type T struct {<!– –> name string // name of the object value int // its value } ? The format after calling gofmt is type T […]

[Comprehensive explanation of Linux commands] 026.mv command: a practical tool for file renaming and moving

Article directory mv Additional information grammar Options parameter Example rpmverify Additional information grammar Options Learn `python` from scratch mv Used to rename files or directories Supplementary instructions The mv command is used to rename files or directories, or move files from one directory to another. source represents the source file or directory, and target represents […]

Linux network port name naming rules

At work, I occasionally see that the network ports of some machines are named after the ethX command, and some are named after enpXsX. The information on the Internet is not very clear, and the information is undocumented, so it is difficult to be convincing. So I decided to check the official information and source […]

How to use python-wechaty to build an English naming robot

Foreword This article has two main purposes: (1) Use python-wechaty to implement an English name-naming robot. The user can input a Chinese name (input format: English name: XXX) to obtain the corresponding English name, expanding the application scenarios of wechaty. (2) There are already many tutorials about WeChaty on the Internet, but most of them […]

[Programming Specifications] This article explains the naming conventions in development

Naming convention Good code itself is a comment, so we need a unified naming style. ? In this article, I will summarize the naming conventions in Java programming from big to small, from outside to inside. This article will involve common naming examples in daily work, such as package naming, class naming, interface naming, method […]

Linux network card naming rules and modification methods

1. Foreword: In the early operating systems such as fedora13 or before ubuntu15, the NICs were named eth0, eth1, and eth2, which belonged to the biosdevname naming convention. Of course, this is the naming rule for intel network cards, and realtek network cards will be named ens33. However, this number often does not necessarily correspond […]