Questions tagged [tkinter]

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

Filter by
Sorted by
Tagged with
5
votes
1answer
51 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
85 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 ...
1
vote
0answers
17 views

Plotting Whether Measured Locations for Components are Within Spec *Revision

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 ...
4
votes
1answer
24 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
28 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
528 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 ...
2
votes
1answer
48 views

python tkinter simple MVC

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
60 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
48 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
87 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
562 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
263 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
81 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
156 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
130 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
36 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
67 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
89 views

How to structure tkinter with classes?

I had a read about classes, def, self, master, *args, <...
3
votes
2answers
43 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 ...
5
votes
0answers
53 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
136 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
94 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
35 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
66 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
55 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
57 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
39 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
67 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
223 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 ...
3
votes
2answers
125 views

Tkinter program to teach Arabic

I am writing a lesson-based program to help teach friends and family the basics of Arabic. The program consists of different sections (letters, numbers, personnel pronouns, etc.) and each of those ...
3
votes
2answers
106 views

Tic-Tac-Toe code using Python with Tkinter

`I made this Tic-Tac-Toe game first, by using user input in the console here: https://pastebin.com/6zLjrWcf , and now new and improved using Tkinter: ...
2
votes
1answer
2k views

Python Tkinter login GUI with database

I created a simple login program that works how I wanted them to work. I separated the GUI and database codes into two different python files. I named the files as login.py and dbaseManip.py. The ...
2
votes
2answers
69 views

Symmetries of Triangle Python Turtle

I made a program to explore the symmetries of an equilateral triangle using Python and Turtle Graphics. It's formatted using Black Playground. As usual, my goal is to be writing "code that doesn't ...
3
votes
1answer
53 views

Simplified board for X's and O's using Tkinter

Recently I am learning to program in Python and in order to practice I tried to program a little game which consists in a board with 9 cells. In this board each player draw an 'X' or 'O' with left or ...
3
votes
0answers
95 views

Double pendulum real time plot

Double Pendulum I made a little application that embeds a matplotlib dynamic plot into tkinter that enables control through the ...
2
votes
0answers
55 views

Python Script that sends emails to a list of people and their emails and attaches specific documents (w/ tkinter menu)

This is my first Python project. Any tips on making it more efficient, less cluttered, and could you think of some cases that I haven't in which my code will break. For clarification the vendor list ...
2
votes
0answers
64 views

Matplotlib embedded in tkinter

Investigating how to use tkinter controls with buttons and sliders and to combine these with matplotlib, I have come to the following code. Suggestions for improvements and tips are most welcome. ...
1
vote
0answers
91 views

Python 3 Tkinter Calculator - follow-up

I'm a beginner developer, and it's my very first project: a simple math operations calculator in Python 3 using Tkinter for GUI. Obs: This code is an evolution of my previous code of the same project:...
2
votes
1answer
2k views

Tkinter application with multiple windows

I'm creating an application that requires multiple tkinter windows. The code below works the way how I want it to work, but I'm not sure if I'm doing it in the proper way. The first window (and in ...
3
votes
2answers
52 views

Target number sum finder

This is a Target number solution finder which I made with tkinter and is where the user enters a number they want and enters 4 other numbers to find the sum to make the number they want. This is a ...
7
votes
1answer
276 views

Simple integration of async and tkinter in Python

I've been a fan of coroutines and asynchronous programming for a while, and I recently took a trip down memory lane to when I was using Python's tkinter module for ...
3
votes
1answer
64 views

Computer Science glossary made with Tkinter

This is a Computer science glossary that I made with Tkinter. The user inputs the word that they want and then the code searches the text file for it and then ouputs it to the user. ...
6
votes
2answers
192 views

Calculator in Python 3 using Tkinter

Edit: New version at Python 3 Tkinter Calculator - follow-up New status: I´ve refactored the code trying to follow the recommendations from the guys who answered this question. The new version is on ...
4
votes
1answer
142 views

Create the logic game Mastermind using a GUI

This code uses a single Mastermind class to hold everything needed as a tkinter widget that inherits from tk.Frame. Is this the best way of organising something like this or would it be better to use ...
2
votes
1answer
76 views

Converting words/numbers to Discord “letter/number emojis”

I am a beginner to Python (and programming overall) and I decided that it would be funny if I wrote a program that could convert Letters/Numbers to these "Letter Emojis" in Discord. It works but I am ...
4
votes
2answers
146 views

Python - Random Mandala

I did a project in Python where I combined user-input, random, and the turtle module to make a sort of "Mandala Generator", or a program that can generate a simple design either randomly or by the ...
8
votes
2answers
807 views

First Python GUI Calculator with exponentiation function and percents

I made my first Python project with the help of Tkinter. I was trying to make it works like iPhone calculator. I am a beginner and I am looking for ways to improve my code. I use PyCharm and got rid ...
2
votes
1answer
104 views

2-team fraction quiz/test in Python 3 with Tkinter

I created a math quiz/game called "Factions". In the game, there are 2 teams. Red team and Blue team. They take turns answering questions relating to fractions. If they get it correct, they gain ...
3
votes
1answer
507 views

Tkinter stopwatch

As part of a personal project, I wanted to make a stopwatch with Python. I wish to show my friend but at the moment it is a little messy and long. Is there any way to make it more compact or easier to ...
3
votes
0answers
101 views

Python 3 tkinter calculator

After a bit of a break away from any coding, I decided to return with something simple. As I haven't done much of GUI programming with python, and I would like to do more, I decided to make a simple ...