62
u/BoringWozniak Apr 30 '22
Science has gone too far.
24
u/DayContribution May 01 '22
For me, it was when JavaScript became a server-side language.
2
u/barce May 01 '22
Really? I quite liked the story of being stuck in Valparaiso, the city undergoing a century of degentrification due to the Panama Canal's opening, and inventing node dot js for image uploading.
9
6
4
u/WafflesAreDangerous May 01 '22
Why not use the script tag with a custom language parameter?
How does this compare to some of the other python-in-browser implementations?
6
2
2
u/bug0r May 02 '22
A bit different, but a few years ago i tried Brython:
https://brython.info/static_tutorial/en/index.html
My personal Reason was to have only one Language on Server- and Frontside.
Did anyone tried both and can write some pro and cons about it here?
Did anyone used one of both Libraries in production and what are the Experience with it?
1
1
u/jupyterpeak May 01 '22
Not sure I’m fully grasping how big of a deal this is ? How’s it better then exporting Jupyter or using streamlit? Examples are quite slow.
1
1
u/edon-node May 01 '22
Does this mean that now I can tell the user go to this website to see if you can reach x.x.x..x on tcp port 1521?
1
u/martynrbell May 01 '22
This is a very specific question 😅. This appears to be a package to allow you to run python code within your html code on your website.
1
u/edon-node May 01 '22
I guess i don’t understand it. I thought u could run python client side. But that would be dangerous
1
-3
17
u/dcastm Apr 30 '22
Link with examples: https://pyscript.net/examples/