Skip to content

Commit 32e7c8d

Browse files
Update README.md
1 parent e89061e commit 32e7c8d

File tree

1 file changed

+32
-2
lines changed

1 file changed

+32
-2
lines changed

README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
1-
# Cybersecurity-python-algorithms
2-
Python-based algorithm to automate file updates for access control.
1+
# 🛡️ Update a File through a Python Algorithm
2+
3+
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.
4+
5+
## 📄 Project Description
6+
7+
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.
8+
9+
The algorithm:
10+
- Opens the `allow_list.txt` file
11+
- Reads and parses the content
12+
- Removes IP addresses found in `remove_list`
13+
- Updates the file with the new list using `.write()`
14+
15+
## 🧠 Skills Demonstrated
16+
- File handling with `open()`, `.read()`, and `.write()`
17+
- String manipulation with `.split()` and `.join()`
18+
- Looping with `for` and conditional logic with `if`
19+
- Use of `.remove()` method to delete data from a list
20+
- Writing clear, documented Python code
21+
22+
## 📁 Files Included
23+
- `file_update_script.py` – Python script that performs the file update
24+
- `Update_File_Algorithm_Portfolio_Report.docx` – Portfolio write-up with code explanations and context
25+
26+
## ✅ Status
27+
Completed and submitted on Coursera with a score of **100%**.
28+
29+
## 🔗 Author
30+
**Tinashe Zacariah**
31+
[LinkedIn Profile](https://www.linkedin.com/in/tinashezacariah/)
32+
[GitHub Profile](https://github.com/Zackeunor89)

0 commit comments

Comments
 (0)