Questions tagged [tkinter]
Tkinter is the standard Python interface to the "Tk" graphical user interface toolkit.
352
questions
1
vote
0
answers
37
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
52
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
82
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
335
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
76
views
"Sticky Note" App
The code below is a Sticky Note App.
...
3
votes
1
answer
102
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
96
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
77
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
151
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
252
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
704
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
190
views
A small REPL implementation using Tkinter
I made a small POC for a REPL using Tkinter:
...
2
votes
1
answer
175
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 ...
0
votes
0
answers
72
views
Python script for a Timeline widget for an audio player
I used to use the Tkinter scale widget for this, but it is limited in several ways. So I made a custom Timeline with the Canvas widget, which makes a more dynamically changeable Timeline.
...
0
votes
0
answers
57
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
504
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
110
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
343
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
438
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
418
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
414
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
77
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
212
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
755
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
174
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
55
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
110
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
149
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
261
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
93
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
234
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
654
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
94
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
145
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
188
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
448
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
400
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
4k
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
786
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
226
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
58
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
339
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
284
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
242
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 ...
4
votes
1
answer
2k
views
Simple Cash Register -Python
here it is my simple cash register app. It lacks some functionality ( class Payments should have more options like daily statements etc, ...
7
votes
2
answers
264
views
Weather App- Python
This is my very basic Weather App. Would appreciate your opinion mainly about style, writing code etc. I know there is not much functionality to this app, but I have created it just to practice and to ...
3
votes
2
answers
90
views
Staff Manager Windows APP -Python
Below there is a full code for my app Staff Manager. The app does allow basic staff management, like adding, removing or changing details of employees. As it is one of my first GUI apps and I am self-...
1
vote
0
answers
137
views
Event handling with async await in Python
Recently, I had to write a code to classify and rename lots of image files based on their content. So, I wrote a Python script which displays all those images as a slideshow to the me, and I can ...
1
vote
1
answer
120
views
Notes Saver Application in tkinter python
I completed my Notes Saver project in python tkinter and now I want to get it reviewed.
I want to how I could -
Improve my hashing system.
Improve my notes encryption system.
Improve the UX.
Improve ...