I am a beginner in Python. I want to compress a file with password. I know there are some compress-libraries like zigfile, patool, tarfile, gzip and so on. But I couldn't find a library with I can compress a file with password. For example you can compress a file with password with winrar. I also know there is a library for rar. Well I think you need the rar-program on your system. And this is a problem. There is a dependency.
In Short: What I want? - Compress a file (for example in *.zip-file oder whatever) - Compress with password - if its possible: Compress in an encrypted file - extract this compressed file with password
Does anyone have a suggestion?