Bidirectionnal python/tk by talking to tk interpreter back and forth
Briefly

The article describes a unique approach to allowing a TCL/TK interpreter to communicate with Python, emphasizing a humorous bidirectional exchange between the two environments, overcoming Unicode issues.
To enable a bidirectional dialogue, the code involves setting up a non-blocking output for the TCL/TK interpreter—though, notably, it sacrifices portability with a focus on POSIX compliance and more comedic techniques.
By allowing the TCL/TK output to directly push commands to Python via the exec feature, the author engages in a creative coding exercise, challenging traditional multithreading approaches.
Despite its functionality, the article humorously criticizes TCL/TK's user interface, hinting at upcoming improvements through theming, showcasing both nostalgia and innovation in programming styles.
Read at Beauty-of-imagination
[
]
[
|
]