raise RarCannotExec("Cannot find working tool")
import rarfile
rarpath = '/home/server/test_rar/ABC.rar'
def unrar(file):
rf=rarfile.RarFile(file)
rf.extractall()
unrar(rarpath)
raise RarCannotExec("Cannot find working tool")
import rarfile
rarpath = '/home/server/test_rar/ABC.rar'
def unrar(file):
rf=rarfile.RarFile(file)
rf.extractall()
unrar(rarpath)
WinRAR is proprietary software. You also need to have it. An actual answer is here