Questions tagged [tkinter]

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

Filter by
Sorted by
Tagged with
4
votes
0answers
32 views

GUI that reads data and generates/ saves charts

I have a program that uses pandas to read csv files and then generates and saves graphical charts. I have been trying to follow the SOLID principles so I have tried to seperate responsibilities. So ...
4
votes
2answers
45 views

Simple enemy movement simulation on Tkinter

Kind of a noob at Python here, and this is one of my first "big"(big for a beginner like me) project that I undertook with Tkinter and Pynput. Basically, this code will simulate an enemy's ...
1
vote
1answer
27 views

Python MP3 player with pygame.mixer and tkinter for MacOS

I made a Tkinter MP3 Player with Pygame and am looking for tips to improve. Explanation offered in comments in code, but it generally works by getting all the files in a folder. (Have censored ...
1
vote
0answers
26 views

Hangman program (python)

I created a fairly simple hangman program as a little side project. Could you please tell me of any improvements/suggestions/criticism/feedback that you have about my code? Thank you in advance. ...
2
votes
0answers
22 views

Irish Weather Warnings App in Tkinter

I have been working on this project for a little bit and it's my first major python program. It downloads information about current and upcoming weather warnings for Ireland and displays them with ...
7
votes
1answer
427 views

Digital clock with Python Tkinter

While learning about python tkinter, I decided to make a digital clock: ...
0
votes
1answer
40 views

Tkinter music player

I tried making a music player with tkinter in python but there's an error about module not callable but I'm not able to fix it. Can someone help? ...
1
vote
2answers
42 views

Time Converter - Python Tkinter - General comments on code

I have been learning python since being in lockdown, this is the first Tkinter application I've built without consulting the internet or seeking help anywhere. It is a time converter where you can ...
2
votes
1answer
60 views

Is there any way to stop the lag in this Gif opener?

Recently, I made this gif opener using tkinter: ...
4
votes
2answers
120 views

PATM Generator GUI

I've been practising trying to write my code neater, so decided to build a practice GUI, the code works, However, how could I tidy this up in terms of separating out the different parts of the GUI, ...
0
votes
1answer
350 views

Making a File explorer with Python tkinter

I am making a simple file explorer with tkinter Python. This is the file repository on github. I know that this is pretty much long code and it took that much time to write but i have somehow added ...
3
votes
1answer
63 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
40 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
55 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
111 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
683 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
2k 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
70 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
133 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,...
4
votes
0answers
103 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
182 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
274 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
51 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
1answer
275 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
291 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
114 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
2k 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
126 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
138 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
330 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
218 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
64 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
289 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
86 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
74 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
113 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
69 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
65 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
146 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
1k 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
64 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
162 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
399 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
110 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
1k 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
61 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
86 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
370 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 ...

1
2 3 4 5
7