You are on page 1of 4

FACULTY OF COMPUTER SCIENCE AND INFORMATION TECHNOLOGY

DEPARTMENT OF COMMUNICATION TECHNOLOGY AND NETWORK

CNS3201
SYSTEM AND NETWORK ADMINISTRATION

Lab 13

Student: Nur Nazihah Assyakirah Binti Haji Isa


Matric. No: ES04058
Instructions: create 10 files and change their mod to 700. Then, zip the files and send it to your email
address.

- Language used: Python


- Software: Spyder (Python 3.9)
Below is the code to do so:

File1 to file10 are created.


The zipped file is created and all of the files above are put inside the zipped file:

My email inbox:
Since I am using my local machine (Windows), I ran ‘dir’ in my command prompt to see if the zipped file
created exists.

In conclusion, I just learnt how to zip a file with multiple files in it in Python.

You might also like