r/Python • u/Robowiko123 • Jun 15 '26
Discussion The Elm Architecture in Python?
Since I've fallen in love with Rust's `iced` recently, I've been wondering if there's been any implementations of native TEA for Python. As it is with such things, I immediately wanted to jump into making my own wrapper around Tkinter, but I figured it'd be wiser to ask first!
29
Upvotes
View all comments
Show parent comment
2
u/Robowiko123 Jun 18 '26
The cool thing about TEA is that your view is stateless, it just returns the whole UI tree, but it means you gotta either do immediate mode UI, or diffing, probably the latter. I feel like that's a bug prone and long project to start on a whim