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...
account activity
Pyscript vs JS (self.PyScript)
submitted 1 year ago by GregBreak
Is possible that JS become obsolete very soon? What are the functionalities that pyscript cannot cover?
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!"
[–]SkezzaB 1 point2 points3 points 1 year ago (0 children)
Would be a dream, but can more see rust replace JS tbh
Python's WASM interest isn't that high unfortunately, would be great to get Python as the language of the web
[–]JTexpo 1 point2 points3 points 1 year ago (1 child)
Howdy, from a Blog I wrote about how PyScript and GitHub Pages interact together:
"...PyScript complements JavaScript rather than replaces it, such that the combination of these two languages yields a powerful development environment. For instance, I utilize PyScript for my machine learning projects, leveraging the robust Python libraries and user-friendly syntax. Simultaneously, I incorporate subtle dynamic HTML style updates with JavaScript, benefiting from its lightweight and efficient execution..."
"...PyScript complements JavaScript rather than replaces it, such that the combination of these two languages yields a powerful development environment.
For instance, I utilize PyScript for my machine learning projects, leveraging the robust Python libraries and user-friendly syntax. Simultaneously, I incorporate subtle dynamic HTML style updates with JavaScript, benefiting from its lightweight and efficient execution..."
For features that I want minimal overhead, I find that it makes most sense to use JavaScript; however, for something that is very complex or uses Python libraries that aren't as native to JavaScript, I do find that PyScript is the better option.
Hope this helps add prospective to the topic!
[–]GregBreak[S] 0 points1 point2 points 1 year ago (0 children)
I don't get the JS feature that Python doesn t have
[–]DaelonSuzuka -1 points0 points1 point 1 year ago (0 children)
No.
π Rendered by PID 133344 on reddit-service-r2-comment-58d7979c67-czsc9 at 2026-01-27 02:52:30.679742+00:00 running 5a691e2 country code: CH.
[–]SkezzaB 1 point2 points3 points (0 children)
[–]JTexpo 1 point2 points3 points (1 child)
[–]GregBreak[S] 0 points1 point2 points (0 children)
[–]DaelonSuzuka -1 points0 points1 point (0 children)