r/PyScript • u/manatlan • May 07 '22
First frontend lib for pyscript ;-)
Just teasing ...
it works : https://github.com/manatlan/htag/blob/main/examples/pyscript.html --> DEMO
and better : https://github.com/manatlan/htag/blob/main/examples/pyscript_htbulma.html --> DEMO
pyscript is incredible ...
10
Upvotes
View all comments
Show parent comment
2
u/manatlan May 11 '22
You can use "self.add( ... )" ... It's the same ... "<=" Is shorter ...
Borrowed the idea from brython ...
Btw, comparing html'tag is non sense, so theses operators are free ;-) ...