Questions tagged [tkinter]

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

Filter by
Sorted by
Tagged with
5
votes
0answers
59 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
61 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 ...
4
votes
1answer
57 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 ...
1
vote
1answer
63 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
52 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
40 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 ...
2
votes
0answers
61 views

Tkinter widget for managing .ini files through ConfigParser

A tkinter widget for reading/editing .ini files Dynamically generates a form based on the contents of the passed .ini file. Why make this? I made this as a backend for a larger project; I wanted my ...
1
vote
0answers
80 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
75 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
136 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
985 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
134 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
17 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
47 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
103 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 ...
4
votes
1answer
81 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
356 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
164 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
110 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
45 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
45 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
112 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
204 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
22 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
33 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
36 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 ...
9
votes
2answers
606 views

GUI for a quiz tool or game

I just started working on a little project to help me study for a course I'm taking. Is there anything I can do to improve code readability / bad practices? I had to remove most of the labels and ...
1
vote
1answer
173 views

feedback needed for my first python tkinter simple MVC, list element to print to label

Just starting to get the idea of MVC with tkinter. I wrote this simple program and I'm looking for feedback. There are no errors, but I don't know if I set it up right or not. ...
6
votes
1answer
71 views

Simple image segmentation app

I often segment images by hand to generate training data for machine learning models. To this end, I created a little TkInter app that displays images and allows me to export labeled polygons to JSON. ...
3
votes
0answers
74 views

crossword using tkinter without classes and objects

For my python project, I wanted to make a crossword game GUI with sql connectivity to display high scores so I tried to learn tkinter the only difficulty was that I cannot use classes or objects as ...
2
votes
1answer
470 views

Pong game in Python with tkinter

This is a pong game I created some time ago, but it doesn't have methods to store scores yet and also might have some bugs. It is also very slow. The code: ...
12
votes
2answers
847 views

Python Sound visualizer

The past week I have tinkered making a sound visualizer using Tkinter, Matplotlib, NumPy, PyAudio and using a thread to be able to play the sound and to display the plot at the same time. I have been ...
3
votes
1answer
288 views

Python Calculator with tkinter

I've written a simple unconventional calculator application using Python and tkinter. It's unconventional because you use the "...
1
vote
1answer
270 views

Creating an Employee Punch Clock [closed]

I'm trying to create a way to clock in and clock out at work using python and tkinter. There are several features to be implemented. Change the Employee Name Clock In button Clock Out button Export ...
3
votes
2answers
180 views

Paper label system in Python / Tkinter

Update from Paper label system in Python I have not updated the security on the app, need to have a proper look into it. Have decided to use docx module, instead ...
5
votes
2answers
143 views

Paper label system in Python

Update from Digitizing paper label system with Python I have implemented a username and password log in and main application to be used after successful log in. I am ready for some more feedback. ...
3
votes
1answer
39 views

Create a geometry automata

I am trying to draw 2d patterns onto grids of different geometric units. I have a small example for a halfmoon pattern on the grid below. In the future, I will add different kinds of movement (eg. ...
2
votes
1answer
80 views

Username and Password application

I have another thread called Digitizing paper label system with Python I have added username and password class (class is called login()). I'd like to hear some ...
3
votes
1answer
609 views

How to structure tkinter with classes?

I had a read about classes, def, self, master, *args, <...
3
votes
2answers
48 views

Creating a basic structure in tkinter

I am making a basic program just for a local machine so I do not need to create anything fancy but I am finding that my code is going to become quite lengthy. Any tips on how to improve it so I am not ...
7
votes
1answer
241 views

Properly Structuring a Tkinter Application

I'm fairly new to object oriented programming and while I understand the basic concepts, I'm still having some trouble organizing my applications. I'm building a small Tkinter application as a ...
2
votes
2answers
153 views

Digitizing paper label system with Python

I'm currently halfway through a Python project, but would like a review before I spend too much more time on this to avoid going too far down a rabbit hole. I had previously wanted to use HTML, CSS, ...
2
votes
1answer
250 views

Plotting a parabola using Tkinter

I'm a beginner, and I have just written this basic code that simply plots a parabola in a graph. Is it possible to make my code more efficient? The process works by the creating lists of X and Y then ...
1
vote
0answers
59 views

TypeTrainer OOP Tkinter program [closed]

I've been developing my first real python gui-program for a while now. Having watched some tutorials to tkinter and OOP I've gotten quite far, but now I just can't get my code to do what I want it to. ...
3
votes
2answers
89 views

Tkinter Program to teach Arabic Part 2 - Proper use of Global Variables

In part one (Tkinter program to teach Arabic) I was asking for help to review the part of the program responsible for managing the main screens and links to all of the different lessons. From the ...
2
votes
2answers
57 views

UI code for save editor

I'm wondering what I could do to improve the function that handles initializing the UI. I think it looks disgusting. Any ideas on what I could do besides splitting the code up into multiple functions ...
2
votes
1answer
86 views

Adding more functionality to tkinter for projects (Revised)

After taking advice from Reinderien, I have completely rewritten the code for my Window() subclass. EDIT *reason for posting was unclear: I would like for someone ...
2
votes
1answer
57 views

Adding more functionality to tkinter for projects

This code adds the following functionality to the basic tkinter.Tk() class... settings-file interaction for persistent application settings fullscreen ...
4
votes
0answers
77 views

Python program for address normalization and geocoding

This is a school project I have been working on. I have created a program utilizing Tkinter, and I was hoping to get some feedback on the way I have gone about things. I feel like it is pretty messy ...
3
votes
1answer
483 views

A simple arcade shooter game in python tkinter

This was a simple game I was making in python. Below is the main class. This is more or less of a prototype for the game. Any criticism or advice is welcome. Source Code ...

1
2 3 4 5 6