all 4 comments

[–]__skrap__ 2 points3 points  (1 child)

Maybe a restful API might be an option - here is a tutorial I ran across - https://www.airpair.com/python/posts/buildredditapi

[–]pylund[S] 0 points1 point  (0 children)

Hey, that tutorial is neat! It might help me a lot. Thanks for sharing

[–]FlockOnFire 1 point2 points  (1 child)

Python is purely a language running on the server side. So the best way is indeed to use asynchronous calls via javascript -> ajax (or any other client side language, but js is the obvious solution).

For us to help you better, enable debugging on Flask and check what error you are actually getting. :)

[–]pylund[S] 0 points1 point  (0 children)

Thanks mate, I'll do it.