Searching-a-CSV-file-using-python
Searching-a-CSV-file-using-python copied to clipboard
🚀This repo is all about a program which can read a 'system files' and return relevant information for a particular event ID.
Problem statement :
Write a program, which can read 'System' csv files and return relevant information for a particular event id.
[The program should provide an option where user can enter a event id and its relevant information are retrieved from the csv file]
Tasks:
- Download the 'System' csv file from windows machine. Go to 5:35 to see the System file location.https://www.youtube.com/watch?v=X0WDzktpr5I.
- Open and look at the files and look at how it is structured.
- Write a program which takes event id as input and returns all the data related to that event id.
Remember:
-
These Points-
- There can be multiple rows for the same event id.
- You should return data for all the rows associated with the input event id.
- There can be multiple rows for the same event id.
Here is how to download the windows system data logs excelsheet.
- If you are using windows system then, go to desktop press window + r key ,one run menu open.
- Type 'eventvwr' in that run menu and then press 'ok' button.
- A 'Event viewer' open and ,then go to the 'Windows Logs' expand it.
- Right click on the 'System' file ,then click 'Save all event as..
- Choose 'Save as type: 'CSV(Comma separated) format.
Note:
- Look at the video https://www.youtube.com/watch?v=X0WDzktpr5I, on how to reach 'System' and save it in your system.
CSV file 👇
Solution 👇
Let's connect! Find me on the web.
If you have any Queries or Suggestions, feel free to reach out to me.