I am new to this forum (and python), but since I found excellent post here, I figured it would be the best place to post this question which is two part:
I have many (+100) .txt files which are space delimited (not csv or tab, possibly referred to as ASCI?) containing 2 columns of data by ~90,000 rows. The first column is consecutive values from 800-10,000. I have attached a file as an example which is only 800-3,627 (38,430 rows).
Part (1): I would like to remove rows that have a first column value between 1569 and 1575. I assume this is accomplished by reading the lines in, then writing them out to another file if they are not between 1569 and 1575.
Part (2): Can I set this to run on all text files in a path/directory versus running it for each file individually?
Thanks again for the help and assistance, and I promise one day I am going to get better at programming.