In the last post we used the Python tkinter module (which is standard) to build a shell window for script-based calculator app. To do anything useful, the shell needs a back-end calculator object to implement script parsing and executing functions.
In this post we’ll look at code for a script-driven prefix calculator that can be easily extended to include other (mathematical) functions.