Questions tagged [tkinter]

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

Filter by
Sorted by
Tagged with
2 votes
0 answers
20 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 ...
user avatar
  • 137
1 vote
0 answers
47 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 ...
user avatar
2 votes
1 answer
44 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&...
user avatar
-1 votes
0 answers
9 views

FigureCanvasTkAgg performance in tkinter

I am making the simple tkinter application. There is a button, with each click, it get the next json file and plot its data into canvas. It is working perfectly but the problem is after plotting 10 to ...
user avatar
  • 185
0 votes
1 answer
43 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 ...
user avatar
  • 103
1 vote
0 answers
29 views

2-player Tic Tac Toe in Python using tkinter

I am somewhat a beginner programmer, and this is my first project using tkinter. Any advice, tips or feedback to improve would be appreciated. ...
user avatar
1 vote
1 answer
77 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 ...
user avatar
8 votes
1 answer
119 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,...
user avatar
2 votes
2 answers
112 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 ...
user avatar
  • 21
9 votes
1 answer
134 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 ...
user avatar
18 votes
2 answers
2k 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 ...
user avatar
2 votes
1 answer
143 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 ...
user avatar
2 votes
0 answers
56 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 ...
user avatar
  • 93
0 votes
0 answers
45 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 ...
user avatar
0 votes
2 answers
139 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 ...
user avatar
7 votes
3 answers
178 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 ...
user avatar
  • 456
3 votes
1 answer
89 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 ...
user avatar
  • 93
1 vote
1 answer
92 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 ...
user avatar
  • 456
4 votes
1 answer
723 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, ...
user avatar
  • 456
7 votes
2 answers
141 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 ...
user avatar
  • 456
3 votes
2 answers
74 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-...
user avatar
  • 456
1 vote
0 answers
51 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 ...
user avatar
1 vote
1 answer
45 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 ...
user avatar
2 votes
1 answer
87 views

Tic Tac Toe game with an adjustable grid size in Tkinter

I've created a full Tic tac toe game in Tkinter that has single and multiplayer modes. The single player mode then has a hard and easy difficulty. The easy difficulty is just choosing a random open ...
user avatar
4 votes
1 answer
203 views

Make a Simultaneous linear equation solver using Tkinter GUI

It's a simple program, the user is prompted to enter number of variables. Then the user is prompted to enter coefficients and constants. That many equations will be there as many variables. Once ...
user avatar
4 votes
2 answers
212 views

Simple password generator with a GUI

I made a simple password-generating app with a GUI written in Python and the tkinter library. Here's how the GUI looks like: The passwords are strings composed of ...
user avatar
  • 43
4 votes
1 answer
289 views

Tkinter Sticky Notes

Currently I am creating an app in Tkinter that creates, displays, and saves sticky notes. I am new to python so I keep trying to rewrite my classes so I have my code more organized but every time I ...
user avatar
5 votes
1 answer
80 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 ...
user avatar
4 votes
2 answers
80 views

Simple enemy movement simulation on Tkinter

Kind of a noob at Python here, and this is one of my first "big"(big for a beginner like me) project that I undertook with Tkinter and Pynput. Basically, this code will simulate an enemy's ...
user avatar
1 vote
1 answer
87 views

Python MP3 player with pygame.mixer and tkinter for MacOS

I made a Tkinter MP3 Player with Pygame and am looking for tips to improve. Explanation offered in comments in code, but it generally works by getting all the files in a folder. (Have censored ...
user avatar
  • 137
1 vote
0 answers
45 views

Hangman program (python)

I created a fairly simple hangman program as a little side project. Could you please tell me of any improvements/suggestions/criticism/feedback that you have about my code? Thank you in advance. ...
user avatar
2 votes
0 answers
25 views

Irish Weather Warnings App in Tkinter

I have been working on this project for a little bit and it's my first major python program. It downloads information about current and upcoming weather warnings for Ireland and displays them with ...
user avatar
  • 21
7 votes
1 answer
553 views

Digital clock with Python Tkinter

While learning about python tkinter, I decided to make a digital clock: ...
user avatar
0 votes
1 answer
75 views

Tkinter music player

I tried making a music player with tkinter in python but there's an error about module not callable but I'm not able to fix it. Can someone help? ...
user avatar
1 vote
2 answers
63 views

Time Converter - Python Tkinter - General comments on code

I have been learning python since being in lockdown, this is the first Tkinter application I've built without consulting the internet or seeking help anywhere. It is a time converter where you can ...
user avatar
2 votes
1 answer
90 views

Is there any way to stop the lag in this Gif opener?

Recently, I made this gif opener using tkinter: ...
user avatar
4 votes
2 answers
126 views

PATM Generator GUI

I've been practising trying to write my code neater, so decided to build a practice GUI, the code works, However, how could I tidy this up in terms of separating out the different parts of the GUI, ...
user avatar
0 votes
1 answer
780 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 ...
user avatar
3 votes
1 answer
232 views

Frame Pacing and Animation in Python/tkinter

The goal of each frame of the animation to be the same length as the one before it, regardless of the amount of processing that takes place as the frame is being built. This is a little animation demo ...
user avatar
  • 131
3 votes
1 answer
59 views

Multi-format word counter

I wrote a simple word-counter in Python a while ago, capable of processing DOCX, XLSX, TXT, and some PDF files. Now I gave it a simple GUI - this is my first tkinter program ever. What do you think? <...
user avatar
2 votes
1 answer
70 views

Avoiding redundant code using tkinter

I'm trying to devise a tkinter gui, that, among others, lets users choose a 'working folder' and a 'destination folder (and there is more coming). I stripped the code to its bare functionality ...
user avatar
2 votes
0 answers
201 views

Simple & Double Pendulum simulation with Python's Tkinter

I decided to create a double pendulum simulation to trace out its path and explore chaos theory a bit. I'm looking for any feedback regarding my code. Are there any atrocious portions of my code or ...
user avatar
5 votes
2 answers
807 views

Basic python GUI Calculator using tkinter

Could anyone review my code for a calculator using tkinter? I'm attempting to use two classes, one with the functions of the calculator and a second which creates the GUI. It seems to work fine (...
user avatar
  • 103
1 vote
1 answer
2k views

Creating a Table with Tkinter

I am using a code similar to the following example to create a table with tkinter using Python 3: Each cell is individually ...
user avatar
3 votes
1 answer
84 views

Tkinter Basic Calculator

This is my first project using the tkinter library. It's a basic calculator that supports the four basic arithmetic operations. It also supports inputting digits and symbols via the keyboard. I'm ...
user avatar
0 votes
0 answers
370 views

Resize video frame to fit tkinter window size when the window is resized

I've written a piece of code to play a video using OpenCV on tkinter. Its part of a game I've made and compiled into an application. But I've noticed that when I play the game in a different computers,...
user avatar
  • 1
4 votes
0 answers
256 views

Python WordCloud GUI

Module: https://amueller.github.io/word_cloud/ I really enjoyed the python WordCloud module, so I wanted to give it a GUI so I could share it with family and friends. I also wanted a platform where ...
user avatar
  • 427
7 votes
2 answers
453 views

Dealing cards for a game - my first Python project

I am new to Python but I aspire to become a 'proper' Python coder, (maybe even one day help the noobs on CodeReview :) Therefore I want to get into good habits early, and would really appreciate some ...
user avatar
2 votes
0 answers
446 views

Creating tkinter widgets that can dynamically change configs

I have built a small tkinter program that I want to have a few different themes it can change between. In order to dynamically change the colours/font for each widget I have subclassed tkinter, and I ...
user avatar
  • 121
1 vote
1 answer
58 views

Check Windows computer's usage of CPU and other resources

I am new to Python and tkinter and I made software which checks Windows computer's usage of: CPU, RAM, Storage, Upload Speed, Download Speed, Latency and Ping. If the output exceeds the input, an ...
user avatar

1
2 3 4 5
7