[Tutor] How do we create a GUI to run a simple calculation program in Python?

Lisa Hasler Waters lwaters at flinthill.org
Wed Apr 5 08:49:09 EDT 2017


Wonderful! Thank you all so very much for all this invaluable expertise. We
have a lot of ways to make this work. We are excited to continue learning
so much.

Lisa

On Tue, Apr 4, 2017 at 8:15 PM, Marc Tompkins <marc.tompkins at gmail.com>
wrote:

> On Tue, Apr 4, 2017 at 9:55 AM, Lisa Hasler Waters <lwaters at flinthill.org>
> wrote:
>
>> Hello Tutor,
>>
>> A middle school student of mine created a program to calculate simple and
>> compound interest. He built it in PyCharm EDU using a Mac running 10.11.6.
>>
>> He would like to create a GUI to run this program. Please, can you advise
>> on how he could build this?
>>
>> Others have mentioned Tkinter and HTML; I''d like to put in my two cents'
> worth for wxPython <https://wxpython.org/>.  HTML is probably the best
> cross-platform solution, and requires the least extra stuff bolted on, but
> wxPython lets you create desktop apps that look like they were actually
> developed for the computer they run on.
>
> Alan Gauld's comments about separating the GUI from the program logic are,
> as usual, spot-on.
>
>


-- 
Lisa Waters, PhD
Technology Integration
Middle School Coding
Lower School Digital Literacy
Flint Hill School
703.584.2300
*www.flinthill.org* <http://www.flinthill.org/>


More information about the Tutor mailing list