Is it somehow possible to extract .cab files in python?
Not strictly answering what you asked, but if you are running on a windows platform you could spawn a process to do it for you.
Taken from Wikipedia:
Microsoft Windows provides two command-line tools for creation and extraction of CAB files. They are MAKECAB.EXE (included within Windows packages such as 'ie501sp2.exe' and 'orktools.msi'; also available from the SDK, see below) and EXTRACT.EXE (included on the installation CD), respectively. Windows XP also provides the EXPAND.EXE command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With