Best method of extracting text from multiple html files into one CSV file
I don't know if Python natively supports XPath, but if it does, you should do some research on that subject.
Another alternative solution would be regular expressions.
After reading this forum I am not sure which method is best to extract sections of data into a CSV file I.e. Python/Beautiful Soup/html2text. Because of the large number of files, I want to try and write a script I can run within the Terminal.
Output: One CSV file, with lines of text and five columns of data. e.g. first and last line
100 2010-12-20 145 ABC 04110000
1     2010-11-10 133 DDD 041123847
Thanks!