[英]How to extract a multi-volume RAR archive file with a Python script?
I want to do this on Linux with rar x filename
.我想在 Linux 上使用
rar x filename
执行此操作。
The RAR archive file is split into parts, for example: RAR 归档文件被分成几个部分,例如:
Filename-001.rar
Filename-002.rar
Filename-003.rar
I wanted to extract them all at once with a Python script.我想用 Python 脚本一次提取它们。
I can think of three ways:我可以想到三种方法:
bash
) script to do this.bash
)脚本来执行此操作。 There are many ways to do this that you can find with a Google search, so I'm not going to link them and limit you to one.os.system
and "subprocesses"os.system
和“子进程”
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.