This is tried on python3 Ubuntu running on Terminal.
I have written a code to test zipFile.extractall(pwd=password) where I unzip some files in a ZIP-file.
It