E
E
Evgeny Ivanovich2021-01-25 16:41:57
linux
Evgeny Ivanovich, 2021-01-25 16:41:57

Output to folder archiving progress variable?

Good evening ladies and gentlemen, today the question is, is there a team

7z a \
-t7z -m0=lzma2 -mx=9 -mfb=64 \
-md=32m -ms=on -mhe=on -p'1234567890' \
images.7z ./images/

Which creates the images.7z archive, to access the contents of which you need to enter the password 1234567890. The question is, in Python >= 3.8, how to get the progress of the command?
THIS method does not work, it displays only descriptive information about the operation of the command, and then only at the end of its execution, i.e. about any runtime there is no question in this case.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
sergey, 2021-02-06
@Pauk_Code

py7zr module
https://pypi.org/project/py7zr/ archives by encrypting headers and lets you know the progress

V
vascodogama, 2021-01-26
@vascodogama

Try tqdm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question