How to extract 7z zip file in Python 2.7.3 version -
How to remove 7z zip file in python. Please tell me that there is no library for this.
I have installed library library in Python 2.7.3 version. But I am not able to use that library.
I command such as C: \ Program in my C ++ project file \ 7-zip \ 7z.exe x
import subprocess subprocessation coal (r '"C: \ Program Files \ 7-Zip \ 7z.exe" x' + archive_name + '-o' + Folder_name_to_extract)
or 32-bit version:
subprocess.call (r '"C: \ Program Files (x86) \ 7-zip \ 7z.exe "x '+ archive_name +' -o '+ folder_name_to_extract)
Comments
Post a Comment