Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

how to extract a folder using python

pip install patool
import patoolib

#case 1 specific output path
patoolib.extract_archive("filename.rar", outdir="outputpath")

#case 2 current working directory
patoolib.extract_archive("filename.rar")

Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #extract #folder #python
ADD COMMENT
Topic
Name
9+8 =