I have installed patool on Google Colab. The patool command works file with:
patoolib.extract_archive("/content/drive/My Drive/File_name.part1.rar", outdir="/content/drive/My Drive/Folder/")`
After it's sucessfully finished, it has extracted 10 part zip files.
But when I am trying to extract those 10 files, it returns errors, and is asking for a password. I do know the password and whenever I give the password, it says "program aborted".
For 7z, you can use
! 7z e -pPASSWORD "path/to/file.zip"
to extract a file with password.