Last active
          May 17, 2024 12:12 
        
      - 
      
 - 
        
Save aspose-com-kb/d277facdf2a1e2e3aff648761487063b to your computer and use it in GitHub Desktop.  
    Extract RAR Files using Python. For more details: https://kb.aspose.com/zip/python/extract-rar-files-using-python
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import aspose.zip as az | |
| # Load RAR archive | |
| with az.rar.RarArchive("Sample.rar") as archive: | |
| # Extract RAR file to a folder | |
| archive.extract_to_directory("extracted_rar") | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment