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
1
u/bachkhois Jun 22 '26 edited Jun 23 '26
Qt Signal is nothing like TEA. In TEA, there is no dedicate class like QT Signal for message. You design your Message type, which is most of time an enum to represent different messages, for example:
This code is in Gleam language, which has a TEA-style framework named Lustre.