Questions tagged [tkinter]
Tkinter is the standard Python interface to the "Tk" graphical user interface toolkit.
356
questions
2
votes
1
answer
84
views
Design for this automated menu-building method in GUI
I have a github repository where I uploaded the code of a sample Python-tkinter application for illustrate how to do a GUI with i18n following the MVC pattern and good practices.
The thing is that I ...
6
votes
1
answer
119
views
Crossword game with python and flask
I recently finished my first major software project, aiming to provide an educational crossword product for my school assignment that can generate and display always-unique crosswords. I learned a bit ...
2
votes
3
answers
91
views
Arithmetic practice script in a tkinter window
I wrote a script that gives the user a quick arithmetic quiz and results using a tkinter window.
I am very new to programming, and this is also my first time using <...
2
votes
1
answer
119
views
Birthday database and emailer
This is my third project for review; I would like feedback on:
code readability
code efficiency
particularly good parts
The project is called BirthdayBackup. It's a
GUI app that allows you manage a ...
3
votes
1
answer
153
views
Python - beginner - GUI
I have been learning python for 1.5 month now I am learning in my free time between job and other life commitments so my progress may be slow. It may take time for me to reply but I am interested in ...
0
votes
1
answer
170
views
Python - beginner level - password manager GUI
I have been learning Python for 1.5 months now. I am learning in my free time between jobs and other life commitments so my progress may be slow or it may take time for me to reply but I am interested ...
1
vote
0
answers
86
views
Tkinter threadpool with callback implementation - alternative approach feedback
This is an attempt to create a usable alternative to the "normal" method of implementing concurrency with tkinter. The "normal" method seems to be by pro-actively polling a result ...
1
vote
1
answer
64
views
Clock time validation app, cognitive exercise, minimal viable product
How to improve this code, how to make it accessible to get user feedback?
This is a minimal clock time validation app. There is a clock face and the user is asked to validate the time the clock hands ...
2
votes
0
answers
118
views
Python tic-tac-toe using tkinter
I recently made this tic-tac-toe program using tkinter, but I am quite new to tkinter, so I would be grateful for tips on how to improve the program. (Note that the actual tic-tac-toe logic is being ...
2
votes
2
answers
489
views
Simple calculator in python using tkinter
I just learned Python and Tkinter and I've just made a simple calculator using Tkinter for a small project at my school. It can do addition, subtraction, multiplication and division. I think that my ...
1
vote
0
answers
117
views
"Sticky Note" App
The code below is a Sticky Note App.
...
3
votes
1
answer
119
views
Messy Sudoku solver
I have made a simple Sudoku solver in python and TKinter. However, I have used code from many different sources, so it is not neat. I can only write ugly code, so it is just about impossible for me to ...
2
votes
1
answer
178
views
Pomodoro Work Timer with GUI
My first actual code using GUI. Based off a class I took. Code criticism much appreciated. (I was all over the place with this one)
Resources
Picture:
Sound: https://www.freesoundslibrary.com/success-...
3
votes
1
answer
108
views
Simple Python MVC app for incrementing numbers using buttons
Intro:
I am learning about the model view controller (MVC) architecture and I am looking for feedback from more experienced/knowledgeable people so I can check if my understanding is sound, and learn ...
3
votes
1
answer
236
views
TkInter GUI interface for STM32 MCU
I'm very new to Python and this is my first ever Python GUI app. I am writing a little app to interact with my STM32 Black Pill board. This is very minimal as I intend to use this as the basis for ...
4
votes
1
answer
416
views
Simple encryption/decryption program using python (and tkinter)
I am creating a simple program with a GUI to encrypt/decrypt text using different ciphers. I tried to make it so that it would be easy to add new ciphers.
This is my code:
...
1
vote
0
answers
1k
views
MVVM using Python's tkinter
My task is to change the architecture of a previously written application to Model-View-ViewModel and use the Command pattern. It is written in Python 3.10.6 and uses the tkinter library for the GUI.
...
7
votes
3
answers
242
views
A small REPL implementation using Tkinter
I made a small POC for a REPL using Tkinter:
...
2
votes
1
answer
500
views
More efficient way to generate Tkinter buttons in loops
I designed a game of Minesweeper where the board was displayed using text, and it worked fine. Using the same pseudocode, I tried to write the game with a GUI using Tkinter, and made a few ...
1
vote
1
answer
81
views
Choose and locate a word in PDF
This code searches helps to choose a word and locate the word in a PDF, by highlighting it, and drawing a box around it.
I found problem with the border of the rectangle, as it's thickness cannot be ...
8
votes
2
answers
819
views
Python - Tkinter - Infinite Canvas World for drawing apps
We have worked an idea out that seems to have a wide usecase and there seems to be no examples for it on the web for python tkinter. Having unlimited space to draw can be crucial and can be done wrong ...
3
votes
0
answers
167
views
A GUI Multimedia Player with acces to the Youtube Database (3)
Third update, now in OOP. Link to previous post:
A GUI Youtube Player (2)
Link: https://github.com/floris-vos/gui-youtube-player
This is a multimedia player that gets its material from the database of ...
5
votes
1
answer
450
views
A GUI Youtube Player (2)
Link to newer version:
A GUI Multimedia Player with acces to the Youtube Database (3)
I am working on a GUI Youtube Player. When I had a first working version, I put it here on CodeReview, getting ...
8
votes
4
answers
598
views
A GUI Youtube Audio Player
Follow Up: A GUI Youtube Player (2)
I made a GUI that can make a YouTube query and play the audio. It includes some basic functionalities like volume control, a time-scale, putting songs in waiting ...
1
vote
1
answer
658
views
TKinter using OOP approach
I'm starting to build an application for automated network troubleshooting. It's going without any issues so far.
I'm using an OOP approach @ which i create the widgets in the init method. what's ...
4
votes
2
answers
527
views
Tool to concatenate video files
The function below is written by me in an app that lets you merge 2 or more video clips together, so I used a text box in the GUI, it asks you how many clips you want to merge, and will do it for you ...
2
votes
1
answer
92
views
Tkinter Minesweeper Clone V2
Intro
Having spent quite a bit of time learning Python, I thought it was time to work on something. However, an Google search for "python projects 2022" came up with projects I had already ...
2
votes
1
answer
274
views
Parametric visibility and order of tkinter labels
I'm writing software which allows a user to view data in a number of different formats, and they can switch between formats at any time. I'm wondering if there's a better way to do this than switching ...
6
votes
1
answer
1k
views
Go Chess (weiqi) in Python using Tkinter
The Game
Go or weiqi is an amazingly simple yet complex board game. This game is typically played on a 19x19 grid, and pieces are played on the intersections of lines. Pieces are removed when they are ...
3
votes
1
answer
198
views
Scrape PokeDex and display in tkinter
Hi I am new here and I just completed my first working version of a pokedex app with a GUI using tkinter. I used selenium to scrape the data from pokemondb.net, and then used pandas to clean up the ...
2
votes
0
answers
61
views
Box-Select Feature for tk.Text
I created a box-select feature for the tk.Text widget. You can select, cut, copy, paste, drag/drop and type with column-centric behavior. I'd like any feedback that ...
1
vote
0
answers
127
views
Minesweeper using Tkinter
So, I have completed a Minesweeper program in Python using Tkinter.
A few questions:
I feel I should convert this to Object-Oriented Programming. Any starting tips?
Expanding on the above, I have way ...
4
votes
2
answers
177
views
Python Tkinter UI Pattern Password Code
This post is less of a question and more of a hope for people to see my code which I know is far from great and give me some direction or simple tips on improving the quality of it.
Normal Stud:
...
1
vote
1
answer
314
views
Monster Maker application in Tkinter
I have a program that works okay (not fully completed) however, I would like to simplify things and create some classes and different .py files for my tkinter app as I feel that would help organize ...
2
votes
0
answers
103
views
Minesweeper program using Tkinter
I have complete my minesweeper game using Tkinter and would like to know ways to improve. I also have a question for extra features: does anybody know a way to have a opening start, like google ...
1
vote
0
answers
347
views
To do application using python's tkinter and sqlite3
I program python as a hobby and wanted to learn how to apply databases in a functional program, while at the same time make something useful. so I made a to do application with some basic ...
2
votes
1
answer
860
views
Sudoku Tkinter generator
I made OOP sudoku generator - at this moment it generates only valid table. You can clear it and then generate over.
The case is I struggled with calling "fill_board" and "clear_board&...
0
votes
1
answer
115
views
tkinter user interface skeleton for airport analysis application
I'm trying to make the following code meaningful as much as possible, using inheritance. The purpose is for learning. The App class is the most super class. And the Tabs class has inherited it. Can I ...
1
vote
1
answer
164
views
Python password generator with Tkinter
I program in Python as a hobby and this week I decided to write a program that generates 16 character long passwords. I wrote this program as a class, which i rarely do. Because of this I think I ...
7
votes
1
answer
205
views
Structuring of my tkinter music player program
This music player app hasn't really completed yet but it runs the basic functions of a music player, which include play/pause, volume adjustment, next/prev, shuffle and repeat functionalities. However,...
2
votes
2
answers
588
views
Periodic Table of Elements (Python-tkinter)
This is a code that generates the periodic table where each element is represented as a button and info about the element is produced when that specific button is pressed. I wanted to make this code ...
10
votes
1
answer
479
views
Periodic Table - Python and tkinter
I posted an answer on StackOverflow about periodic table sometime back and ever since then I've been thinking about improving/optimizing it and worked up a completely different version of it that ...
21
votes
2
answers
5k
views
Python - Tkinter - periodic table of chemical elements
Inspired by a question on StackOverflow I decided to code a GUI that is simple, efficent and can be used in other projects as well. I wanted to share this code since it probably is usefull to other ...
2
votes
1
answer
930
views
youtube download application using youtube_dl and tkinter
I program in Python as a hobby and decided to try to use tkinter to make an application.
I decided to make a YouTube video/audio downloader using youtube_dl. It's really slow, and the tkinter window ...
2
votes
0
answers
246
views
Mean, median and mode GUI
This program takes x numbers and displays the mean, median and mode.
My goal here was to use classes and class properties the best i could to make the code shorter (honestly i may have just made it ...
0
votes
0
answers
73
views
One-way chat which encode messages, this is the server side
This is one of my first real projects in python. It's basically a one-way chat where the server sends away an encoded message. The logic of it is pretty simple and I know there is some unnecessary ...
1
vote
2
answers
381
views
How possible it is to shorten repetitive if-statements in Python?
I'm a Python newbie and I made this GUI dictionary using PyDictionary module, it took me long though, I can sense that the if conditions are really unpractical and ugly, but I couldn't find a way to ...
7
votes
3
answers
1k
views
YouTube Downloader with PyTube
I've made a little app, YouTube Downloader, which does what the name says.
I have three files as I am trying to get good enough in working with multiple files in one app. So even if it is really small ...
3
votes
1
answer
349
views
Number system converter GUI
This program converts from number system A to number system B as soon as you input something in it, as a rookie it took a lot of thinking to make it work a seamless and fool-proof way.
It converts ...
1
vote
1
answer
312
views
Guess The Number Game with GUI
So I've decided to practice I will turn all my scripts etc into GUI apps. So my 36 loc guess the number game turned into 136 loc. It's not the best looking, but it does work and on hard it's actually ...