If you are a developer looking to generate content for a ZIP file via code:

Select your files, tap (three dots), and select Compress . Linux (Command Line) :

: Use the zipfile module. You can create an archive and write strings directly to it as files.