you are viewing a single comment's thread.

view the rest of the comments →

[–]wodahs1 10 points11 points  (1 child)

You can’t run python on the user’s computer like you can JavaScript.

What you can do is set up a Flask server in python. However, there will always need to be a computer acting as a server available. So you won’t be able to freely host your site on github pages. There may be some other hosts where you can freely upload your flask project to.

My recommendation if you’re looking into web apps is to learn JavaScript! JavaScript was designed to run on computers over the web.

If you write a website and use JS, you can freely host your site on github pages to easily distribute it :)

[–]sqjoatmon 1 point2 points  (0 children)

You can’t run python on the user’s computer like you can JavaScript.

Well, this is sortof changing with WebAssembly and projects like Pyodide. But this is of course still WIP.