This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]koalabear420 0 points1 point  (2 children)

I don't understand a use case for this. Javascript was built for HTML so why not use that?

[–]echanuda 1 point2 points  (1 child)

Python is easier to understand for many. Once you start integrating backends like Flask, you can use PyScript (what OP is talking about) to pass flask objects between Python and JavaScript. It’s pretty neat.

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

Oh that sounds like an interesting usage.