TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Member-only story

How I Use Python’s Tkinter to Run Algorithms

4 min readMar 10, 2022

--

Image from Pexels

Why use Tkinter Library

There are tasks that we have to do on a daily or weekly basis that involve running multiple python scripts which on most cases, take so much of our time. It’s important to always find ways to maximize productivity and work efficiently through automating some of our own day to day processes.

Having a GUI makes daily work more efficient through an interface that allows you to run scripts with a click of a button. It can be transformed into an executable file which makes running python scripts smoother for yourself or team members that are not so tech savvy but would like to run scripts themselves.

In this article, I will share how I design a simple GUI to run a python script algorithm. I created a simple GUI code for the purpose of this write up.

Example GUI project Overview: The Allocation Algorithm GUI below is a UI where you can read and write a table to and from an Oracle database . The Allocate button has an algorithm at the backend that performs calculations on how many products should be allocated to…

--

--

TDS Archive
TDS Archive

Published in TDS Archive

An archive of data science, data analytics, data engineering, machine learning, and artificial intelligence writing from the former Towards Data Science Medium publication.

Kathleen Lara
Kathleen Lara

Written by Kathleen Lara

I’m a Boston based Data Scientist with a background in Data Engineering and Statistics.🤓

No responses yet