Answer the question
In order to leave comments, you need to log in
How to structure data from html files into a table?
Hey!
There are several thousand html files on the local PC.
The structure is like:
<h1>
<url>
<несколько p с контентом>
<meta keywords>
Answer the question
In order to leave comments, you need to log in
You open a file, you read. With the help of beautifulsoup you pull out exactly what you are interested in.
As soon as you go through all the files, write the data to the table.
Or you can enter data into the table after each closing of the N-file
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question