If I will make a website can I use Python instead JavaScript?
there is something called pyscript (https://pyscript.net/) but this is slower than JS and it is still in alpha.
3 Likes
Ok. Thank you very much
1 Like
use py-script for faster startup (no transpilation) and better support for python libraries, or brython for faster run (native, optimised JS code). But if you aren’t using python libraries, imo you’d rather just learn JS
For HTML, it’s generally better to use JS with HTML unless your idea is about a python library (ex. Django).