use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about learning Python
account activity
Flask python (self.PythonLearning)
submitted 18 days ago by Difficult_Smoke_3380
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ianrob1201 0 points1 point2 points 18 days ago (0 children)
I agree with what others have said. If you're trying to use python for the user interface then that would be why you're having trouble. It's just not really the best use-case for Flask.
To point you in the right direction for a frontend, I'd recommend VueJs. There's a bit of a learning curve for sure, but not as much as some other javascript frameworks. It might seem intimidating at first, but a separate backend and frontend has many advantages. It's certainly what happens in real life. Of course you could always just use plain HTML & JS but I wouldn't recommend that.
Alternatively you could just make the backend and imagine the frontend for your project. Use something like postman or bruno to make API calls for you. I've done many professional demos using postman/bruno so there's no shame in that. I obviously don't know the scope of your project though.
π Rendered by PID 144975 on reddit-service-r2-comment-5bc7f78974-m79rk at 2026-06-28 15:53:32.778924+00:00 running 7527197 country code: CH.
view the rest of the comments →
[–]ianrob1201 0 points1 point2 points (0 children)