I have one old shell script which include sed command as below. The source data($Tmp) is a HTML table.
sed '/<table border/,/table>/d' $Tmp > $Out
Can someone help me to convert this command to Python script? I really can't figure out how to do that with regular expression. Many thanks..