r/PyScript • • Jul 17 '22
Pure Python - No HTML
It's a dream of mine to be able to code pure Python in the web browser, and I realized that PyScript allows me to do that. I've created a fork of PyScript here where I've added some Python functions that create HTML elements so you don't have to:
https://github.com/coryfitz/pydesyn
Let me know what you think! It's very much a work in progress


18
Upvotes
View all comments
Show parent comment
9
u/fpliger Jul 17 '22
Hi there. This is super interesting, great work!
Tech lead and co-creator of PyScript here :) . We plan on also providing a better Python level to access and manipulate the DOM and this definitely seems in that direction. I'd highly suggest opening a PR or issue to PyScript for us to have a discussion as a community. Either in PyScript core or as a community extension/project, I totally think it'd be great for the community.