This project is part of the Coursera Cybersecurity Professional Certificate (Course 7). It demonstrates my ability to write Python code that reads, processes, and updates file data β a critical skill in cybersecurity automation.
In a healthcare company, access to restricted content is controlled via a file that stores an allow list of IP addresses. Some IPs must be removed from this list regularly based on a remove_list. I developed a Python script to automate this process.
The algorithm:
- Opens the
allow_list.txtfile - Reads and parses the content
- Removes IP addresses found in
remove_list - Updates the file with the new list using
.write()
- File handling with
open(),.read(), and.write() - String manipulation with
.split()and.join() - Looping with
forand conditional logic withif - Use of
.remove()method to delete data from a list - Writing clear, documented Python code
file_update_script.pyβ Python script that performs the file updateUpdate_File_Algorithm_Portfolio_Report.docxβ Portfolio write-up with code explanations and context
Completed and submitted on Coursera with a score of 100%.
Tinashe Zacariah
LinkedIn Profile
GitHub Profile