Reputation: 1581
The problem is pretty simple:
I have a few thousand HTML files that I'd like to loop through and remove everything until the second instance of this:
<!--------------------------------------------------------->
I know how to load files, write loops, etc., in Python, but all my attempts to parse the files as text are failing.
Upvotes: 0
Views: 23