Questions tagged [tkinter]

Tkinter is the standard Python interface to the "Tk" graphical user interface toolkit.

Filter by
Sorted by
Tagged with
3
votes
1answer
28 views

Frame Pacing and Animation in Python/tkinter

The goal of each frame of the animation to be the same length as the one before it, regardless of the amount of processing that takes place as the frame is being built. This is a little animation demo ...
3
votes
1answer
36 views

Multi-format word counter

I wrote a simple word-counter in Python a while ago, capable of processing DOCX, XLSX, TXT, and some PDF files. Now I gave it a simple GUI - this is my first tkinter program ever. What do you think? <...
2
votes
1answer
53 views

Avoiding redundant code using tkinter

I'm trying to devise a tkinter gui, that, among others, lets users choose a 'working folder' and a 'destination folder (and there is more coming). I stripped the code to its bare functionality ...
2
votes
0answers
75 views

Simple & Double Pendulum simulation with Python's Tkinter

I decided to create a double pendulum simulation to trace out its path and explore chaos theory a bit. I'm looking for any feedback regarding my code. Are there any atrocious portions of my code or ...
5
votes
2answers
542 views

Basic python GUI Calculator using tkinter

Could anyone review my code for a calculator using tkinter? I'm attempting to use two classes, one with the functions of the calculator and a second which creates the GUI. It seems to work fine (...
1
vote
1answer
254 views

Creating a Table with Tkinter

I am using a code similar to the following example to create a table with tkinter using Python 3: Each cell is individually ...
4
votes
1answer
63 views

Tkinter Basic Calculator

This is my first project using the tkinter library. It's a basic calculator that supports the four basic arithmetic operations. It also supports inputting digits and symbols via the keyboard. I'm ...
0
votes
0answers
59 views

Resize video frame to fit tkinter window size when the window is resized

I've written a piece of code to play a video using OpenCV on tkinter. Its part of a game I've made and compiled into an application. But I've noticed that when I play the game in a different computers,...
3
votes
0answers
73 views

Python WordCloud GUI

Module: https://amueller.github.io/word_cloud/ I really enjoyed the python WordCloud module, so I wanted to give it a GUI so I could share it with family and friends. I also wanted a platform where ...
8
votes
2answers
139 views

Dealing cards for a game - my first Python project

I am new to Python but I aspire to become a 'proper' Python coder, (maybe even one day help the noobs on CodeReview :) Therefore I want to get into good habits early, and would really appreciate some ...
2
votes
0answers
164 views

Creating tkinter widgets that can dynamically change configs

I have built a small tkinter program that I want to have a few different themes it can change between. In order to dynamically change the colours/font for each widget I have subclassed tkinter, and I ...
1
vote
1answer
50 views

Check Windows computer's usage of CPU and other resources

I am new to Python and tkinter and I made software which checks Windows computer's usage of: CPU, RAM, Storage, Upload Speed, Download Speed, Latency and Ping. If the output exceeds the input, an ...
6
votes
0answers
141 views

Quiz Game using Tkinter in Python

I have made part of a quiz game and realize that if I continue down this route my code could get huge, is there a way to simplify my code or make it more efficient? The first couple of lines of ...
7
votes
2answers
259 views

Animal Storage TreeView - Tkinter

Bit of a pointless program (at the moment). It's intended more as practice for myself rather than anything else. General idea is that you add details of a particular cat or dog, and it'll update a ...
6
votes
1answer
112 views

Sinewaves and FFT plotter

I am trying to code a sin wave with 5 sliders: frequency, amplitude, phase change, number of data points, and time. I am currently trying to link my phase change slider with my graph so that it ...
6
votes
2answers
1k views

Python Tkinter GUI - Search Files In Directory For Instances Of A String

This script opens a basic form which allows one to search all files in a directory for instances of a string, before outputting results to a textbox and CSV (found in the script location). Each line ...
4
votes
1answer
124 views

Riot Analysis Program

This is a riot analysis app. Collect data using the riot API and shows the user various data. Nothing too in depth. GUI file - This file is the GUI file for the program. I have the class that make the ...
3
votes
2answers
124 views

Feedback HangMan game using python and tkinter for GUI

Having too much spare time during the quarantine I learned some basic python (plus tkinter for GUI) and made a little HangMan game :) Would love any feedback for improvement. Thank you. ...
4
votes
0answers
238 views

Python tkinter placeholder entry widget

I made a placeholder for entry widgets from tkinter, so I was wondering how good it is. I just started learning Python a bit before, so please do correct me if I'm wrong or if I missed something, or ...
3
votes
2answers
164 views

Python Tkinter GUI Login

I have been programming for about 4 to 5 months now and I made a login script with tkinter in python. I tried to use classes and function definitions as best as I could. To get to know them better. I ...
6
votes
1answer
44 views

Image puzzle PIL tkinter

I'm a hobbyist programmer(just having fun) created a small script that takes a photo and resizes it, then cuts it up into 24 pieces. The chunks are transposed and made into buttons. Your task is to ...
4
votes
0answers
192 views

Tkinter - functions inside or outside of class?

I'm in the process of making my first GUI with Python. I'm trying to make something for work, so I've replaced all the info with fruits. It just lets the user tick some boxes, then creates a word doc ...
1
vote
1answer
84 views

Fully finished my first ever python program

This is my first ever python project finished from start to end. This is the third iteration after posting twice before and using the feed back. This time I decided to add tkinter. Just seeing if ...
1
vote
0answers
52 views

A Tabbed calculator in python with tkinter

For learning purposes, I have written a small calculator app on Python, tkinter. I want to check if my design is on best practices for OOP, And seek advice on Nested functions For easy readability, I ...
4
votes
1answer
106 views

GUI to organize images, chapter titles, animation steps, and instructions

Please explain what I can improve, and why. I'm new to Python, Tkinter & Code Review, so I have a lot to learn. :) I created a Tkinter app for user-input, and the same types of widgets are ...
5
votes
0answers
67 views

K nearest neighbours algorithm

Here is a project that I worked on for a few days in June 2020. Since the algorithm is extremely slow, I looked into methods in order to parallelize operations but did not obtain any satisfactory ...
2
votes
2answers
64 views

Finding pupils to tutor

I am a Math tutor and I found the site https://www.yksityisopetus.fi/ where one can search pupils. I made a Python parser to find pupils that want Math teaching with at least 25 €/hour. Are there any ...
5
votes
1answer
123 views

FanFiction Downloader in Python, with GUI

I recently have been ̶w̶a̶s̶t̶i̶n̶g̶ spending my time on making a web scraper specifically designed for FanFictions from fanfiction.net (Okay, I'll admit, I like reading them in my spare time that I ...
3
votes
1answer
971 views

Tkinter treeview

I have subclassed tkinter treeview object added many features like cut,paste etc and context menus to insert rows, delete etc. Would like some feedback on how well it works and if it's intuitive or ...
5
votes
1answer
59 views

A Python Tkinter GUI which you can flick between images

I am new to Python and following tutorials. This one I came across was for TKinter, and throughout I felt I re-wrote the same lines of code time and time again which I wondered if it could be better ...
3
votes
1answer
135 views

Simple stopwatch program with tkinter

I've self-taught myself Python and have recently started learning tkinter. I made a simple stopwatch program and I wanted to know if the code is clean and written in a way that the code works ...
1
vote
0answers
282 views

Grocery list with Python tkinter

I wrote a small program that generates a GUI for a grocery list (any list honestly). The GUI has the capacity to open a file, save a file, and save then exit the GUI from a file menu. The grocery ...
3
votes
2answers
95 views

Is my Python tkinter application properly structured?

I started a simple OOP GUI project with tkinter in Python since I've been studying the basics for a while, but I'm not sure if my code is properly structured and following the programming conventions. ...
5
votes
1answer
1k views

Tkinter GUI for running HPLC pumps, real-time data visualization

What I made I used Tkinter to write a GUI to run some HPLC pumps for my work. The application sends some messages to the pumps via serial connections, reads a response, then logs data to a csv file. ...
10
votes
3answers
1k views

Python Flashcards

I have made a flashcard program. It opens a small window and displays a series of questions. Since I am new to programming, how can my code be improved? ...
2
votes
1answer
766 views

Simple GUI unit converter with tkinter

I happened to delve into tkinter and created a couple of mini projects so I could get more familiar with it. I was wondering if there was any portion of my code or code structure that is sloppily ...
0
votes
1answer
28 views

animate button presses in a sequence (tkinter)

I am attempting to animate the series of button presses in the simon game I am creating with tkinter. The animate method is called for each button that needs to be pressed in the series. It currently ...
4
votes
0answers
72 views

Automatically encrypting text editor

I have written an automatically encrypting text editor (github link). The reasons that I wrote this program instead of using vim + gpg are: It's more convenient than vim + gpg (user only needs to ...
4
votes
1answer
305 views

A Python tkinter Activity Planner (To-do List)

I have created a simple Activity Planner that allows adding tasks and associated sub-tasks. It is mainly based on the Treeview widget. This being my first GUI-based ...
5
votes
1answer
98 views

Generating PNG barcodes through a GUI

This is a continuation of my earlier question, now updated to use a basic GUI. This is my first time using tkinter so I suspect there are a fair few things I'm missing! I've also added the ability to ...
0
votes
1answer
1k views

Python Tkinter countdown app with a freezing GUI [closed]

So I want to create a very basic constantly changing text bvariable with a counter function. I created it, and it is working well, but once I press the "countdown" button, the GUI freezes, and the ...
8
votes
1answer
338 views

Double pendulum animation with tkinter

here is my first project : I have made a double pendulum animation with tkinter on Python. Can you give me some feedback on what can be improved ? Thanks ! Code : ...
6
votes
3answers
112 views

Python Display Streamlining

I have designed a basic interface for a smart mirror I made. I coded it to include the time, date, and several phrases that refresh every 24 hours. The phrases are just some random quotes as examples. ...
2
votes
0answers
49 views

Suggestions on how to update equation?

After discovering Float Toy, my goal was to create my own version using Python and Tkinter. The results of the endeavor is shown below. Most of the functionality is complete, but the ...
2
votes
0answers
148 views

Tkinter setup wizard-like application with threading

This is a big script with a GUI basically. I have 4 page classes, that are children of the main Wizard class. I do most of the threading in Step3 and the scripts ...
5
votes
1answer
422 views

Beginner 'Peg Solitaire'' game

This time I wanted to make a board game that is very popular in Brazil, it's called 'resta um', it means 'there's only one left'. The idea of the game is that there are holes in which there are pieces ...
6
votes
1answer
385 views

Animation of sorting algorithms

I have created a visualisation of sorting algorithms using tkinter and matplotlib. Please let me know what you think and if you have any suggestions or find errors. The aim of this code is to create ...
2
votes
0answers
23 views

Plotting Whether Measured Locations for Components are Within Spec - follow-up

I've made this GUI program for my workplace that checks whether measured coordinates on machined components are within spec. It takes in specified coordinates, tolerance and measured coordinates and ...
5
votes
1answer
39 views

Time Tracker Project

I am working on a little Python project to track how much time I am spending coding and doing things outdoors. Coding subtracts and outdoors stuff adds. My code is looking pretty bad. Any suggestions ...
3
votes
1answer
40 views

Plotting Whether Measured Locations for Components are Within Spec

I've made this GUI program for my workplace that checks whether measured coordinates on machined components are within spec. It takes in specified coordinates, tolerance and measured coordinates and ...

1
2 3 4 5 6