文件命名-计数版

This Python script renames files in a specified directory based on a prefix and file extensions. It uses a record file to keep track of the renaming count, ensuring unique names for each file. The script supports multiple file extensions and updates the count after renaming each file.


批量命名-递增版

This Python script renames images in a specified directory and records the changes in Excel files, supporting both prefixed and non-prefixed naming. The script uses a unique counting method to avoid duplicate filenames and saves renaming records for future reference.


一键打包

This Python script backs up a specified directory, deletes certain files or directories, and compresses the backup into a ZIP file. It defines functions and paths for the original directory, objects to delete, backup directory, and zip file path, then executes the backup and deletion.


Am4:00

前言 凌晨4点了还没睡…… 正文


Am2:00

前言 不是,深夜两点了还不睡觉啊! …… 我也还没睡。 正文


Markdown批量插入图片

背景 分享漫画时图片过多,插入过慢。 前置 文件名必须为x-001.webp形式,后缀可自行更改,这里没有适配。 路径可自行更改,以z替换。


PULCHRE BENE RECTE!

前言 翻译版: 10年间疏远的兄妹。 这次的新作是原创同人,所以非常大胆放肆。 与平时的风格有所不同,像是我们常见的原创同人志一样的情绪。 想描绘复杂家庭环境下扭曲的兄妹之爱。 可能会有一些言辞过于疯狂的地方,让人觉得“这是什么?”。 正文


图片批量命名-时间升序-覆盖&另存

该文章提供了两个Python函数用于批量重命名图片文件,并按时间升序排列。第一个函数`rename_file`接受目标目录、输出目录和是否覆盖参数,第二个函数`rename_file`接受前缀参数以添加自定义前缀。两个函数均支持覆盖原有文件或另存新文件。