I'm trying to create an extension that searches google and allows the user to access the first 10 or so results.
I did the google search code in python and have the code for an extension but I don't know how to get the results of the python code and get them to display like text and links in a html document.
I've tried using pycharm but at first the code didn't do anything then I don't know I must touched something then it displayed the python results in the software I was in but didn't in the extension when opened up so I tried using flask but am still unsure of what I'm doing and if it will do what I need it to do.
Flask allows you to generate HTML dynamically by combining static HTML content with dynamic data using rendering templates.
Refer this doc - https://python-adv-web-apps.readthedocs.io/en/latest/flask3.html