This project is a small Python script that reads user acitvity log data from a CSV file and displays it in a clean, readable format in the terminal.
It was created as a learning exercise while practicing working with CSV files, loops, and string formatting in Python.
-
main.py
Reads the CSV file, processes each row, and prints formatted log entries to the terminal. -
user_activity_log.csv
Sample user activity log data used for practice.
Each row represents a user action such as login attempts, page views, or errors.
- Reading CSV files using Python’s built-in
csvmodule - Looping through structured data
- Handling header rows separately from data rows
- Formatting terminal output so columns align neatly
- Basic file handling and project structure