Hello,
I'm manipulating large quantities of HTML files (about 2000). I'm new with Python, and would appreciate any help.
For example, I want to delete the lines that contain "embed_music" in all the files, or change all instances of the word "Paragraph" to "Absatz".
This is my pseudo-code:
open target folder of html files (/project/html/)
read in all html files
*do the stuff here:
check for lines containing "embed_music", if yes delete
string replace for words with "Paragraph" to "Absatz"
*
close folder
Is my logic correct? Would appreciate any help or feedback!