I want to create a .rar
file by passing file paths of the files to be archived.
I have tried the rarfile
package. But it doesn't have a 'w'
option to write to the rarfile handler.
Is there any other way?
os.system('rar a <archive_file_path> <file_path_to_be_added_to_archive>')
Can also be used to achieve this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With