Y
Y
Yaroslav2022-02-12 13:02:55
Python
Yaroslav, 2022-02-12 13:02:55

Convert large json file to html table. How to implement?

Hello.
I have a large json file of 300k lines using a small python script. And I need to convert all these 300k lines into an html table (it has already been laid out, just fill it with data). What is the best way to implement this in terms of speed? Tried on flask, everything works very slowly. I just tried to convert to html in python, it freezes at 70k lines. So far I don't see a solution. Please help if anyone came across.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2022-02-12
@Yaxoo

Don't look there.
300K lines a person will not master a maximum of 50 lines.
So you can not display 299050.
Next, you downloaded this file, well, spread it out into the fields and drive it into the database.
After that, create a local web server and serve 50 paginated records or search for the required fields there.
In general, do not force the server, clients, or yourself

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question