How do you turn a large HTML string into a dictianary for python?(so i can

Zachary

New member
search definitions within it)? Is i have a HTML text like <header> Hello world<header>
<title>This is My page Title<title>
how can I turn each line into a defantion in a dictionary but they all would be in one dictionary?
I want each line to be a string that i can search for key words wihin, like
word i searched, Value, quanity, line
can this be done? if so how can i do it?
 
Back
Top