Skip to main content

Questions tagged [tkinter]

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

Filter by
Sorted by
Tagged with
6 votes
1 answer
97 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
85 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 <...
8 votes
2 answers
705 views

Image puzzle PIL tkinter

I'm a hobbyist programmer (just having fun). I 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 ...
1 vote
1 answer
80 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 ...
4 votes
1 answer
495 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. I tried to learn tkinter, but the only difficulty was ...
3 votes
1 answer
570 views

python tkinter Monty Hall GUI visualization

I created a visualization to Monty Hall with python. this is my first program with python tkinter. I'm new to python (and OOP in python). I used three pictures for the doors. Adding them here. ...
7 votes
2 answers
4k views

A little Python hex editor

First off I'm quite new to Python, there will be a lot of messy/overcomplicated code, that's why I'm posting on this site. This code is written in Python (2.7) using the Tkinter library. Questions To ...
2 votes
1 answer
116 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
151 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 ...
1 vote
1 answer
479 views

Canvas in Tkinter app for Conway's Game of Life updates so slowly

This is Conway's Game of Life written in Python and using Tkinter for GUI. Problems are: The "Play" button works so slowly. I can see how the canvas is redrawing from top to bottom. But when I ...
0 votes
1 answer
157 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 ...
7 votes
1 answer
146 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 ...
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
61 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
117 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
480 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 ...
4 votes
1 answer
858 views

Python 3 minesweeper tkinter game

I have just finished my minesweeper game using tkinter and would like to know how I could improve my program. ...
6 votes
1 answer
308 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 ...
1 vote
0 answers
115 views

"Sticky Note" App

The code below is a Sticky Note App. ...
3 votes
1 answer
114 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
177 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
104 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
221 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
408 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: ...
2 votes
1 answer
486 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 ...
7 votes
3 answers
235 views

A small REPL implementation using Tkinter

I made a small POC for a REPL using Tkinter: ...
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. ...
8 votes
2 answers
780 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 ...
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
0 answers
161 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
440 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
588 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
653 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 ...
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 ...
4 votes
2 answers
522 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
91 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
273 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 ...
3 votes
1 answer
193 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 ...
10 votes
1 answer
6k views

The YouTube crawler

I have coded a program to scrape YouTube data (for educational purposes). When the link of the channel is entered it scrapes the channel name, description of the channel, the videos posted by the ...
2 votes
0 answers
60 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
125 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
173 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
311 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 ...
7 votes
3 answers
12k views

Minesweeper in Python Tkinter

Out of boredom I decided to make simple minesweeper in python. I decided to do it using only libraries which are included in standard installation on Windows. I have overall been coding in Python for ...
6 votes
0 answers
110 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
1 answer
6k views

Python tkinter Snake

I have made a little Snake game with Python tkinter. It's my first Python program with one GUI. What can I improve? ...
2 votes
1 answer
1k 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 ...
7 votes
1 answer
202 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
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
329 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 ...

1
2 3 4 5
8