Question: 2- Write a script in Python that delete all entries from a csv file where the first 4 characters of the third feature matches Es_5

2- Write a script in Python that delete all entries from a csv file where the first 4 characters of the third feature matches Es_5 or Es_6

For instance. The next 2 entries need to be deleted

5, 27, Es_5_1, Blank, 20.11.2014 11:11:41, 20.11.2014 11:11:41, 0, 0, 0, 1, 0, 43, 0

5, 27, Es_6_1, TextEditor_Es_5_1, 20.11.2014 11:11:42, 20.11.2014 11:11:54, 9066, 0, 0, 1, 0,

- Note that the file contains hundreds of lines and these are only examples.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!