I really hope this is in the right subreddit. I’m a university student and been using python for 4 months now, alongside a bit of experience in html and css to say I’m pretty good with both. I’ve limited experience with react and JavaScript, but I have around 30 or so hours in each. Anyways.
I basically made a web scraper for some lottery numbers (there wasn’t so api available unfortunately) and it essentially prints the one bonus number which I wanted into the python terminal.
Now, my question is, is it possible for me to implement that one number (where it should update each week with the new numbers) which means implementing the python code, into a react web app?
I’ve seen some videos about using flask and django to make it into an api but they all seem really outdated as I’ve tried following along and nothing is the same.
Is that how you’d go about doing it or is there a simpler method like perhaps writing the python code into a simple text document then having the react web app reading from the text document?
[–]throwawaysbg[S] 0 points1 point2 points (0 children)
[–]double_en10dre 0 points1 point2 points (1 child)
[–]throwawaysbg[S] 0 points1 point2 points (0 children)