Here are the three file names (content inside should not matter in this example):
File1.txt
File2.txt
File3.txt
Here is my current code:
# create new .txt files
newFile1 = open('File1.txt', 'w')
newFile2 = open('File2.txt', 'w')
newFile3 = open('File3.txt', 'w')
# compress these three newly created files into a .zip folder
My goal is to create a .zip file compressing the three files listed above when the script is executed.
Here is my desired output (One new created .zip file):
CompressedFolder.zip