3 ms·
I'm pretty sure this has been done. I remember seeing something extremely similar while going through several of the umpteen python web frameworks and thinking
by toyg 15y ago
I'm pretty sure this has been done. I remember seeing something extremely similar while going through several of the umpteen python web frameworks and thinking "well, it's just html with parentheses rather than angled bracket and an additional leaky abstraction on top".
- d0mine 15y agothe gist contains example using lxml: E.html( E.head(...), E.body(...))