Skip to main content

Questions tagged [tkinter]

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

60 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
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,...
CoreVisional's user avatar
6 votes
0 answers
111 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 ...
Aaron John Sabu's user avatar
6 votes
0 answers
755 views

Laminar flow in a pipe animation using Tkinter

I wrote this simple particle flow animation with Tkinter. I wanted to ask if there is some major improvements you can think of regarding the animation motor or the documentation of my code? I noticed ...
Putzikki's user avatar
5 votes
0 answers
230 views

Tkinter application to manage school tasks

I'm a beginner in OOP programming and I'm wondering what is the best way to put all the windows and functions of a window application in the code. My biggest questions are: Am I using classes and ...
Wilson Cazarré's user avatar
5 votes
0 answers
4k views

Auto clicker with a simple GUI

What do you think of my auto clicker script? Even though it's just for my own personal use, I'm thinking of using PyInstaller to turn it into an exe, so I know how to do that in the future. ...
ant9985's user avatar
  • 51
4 votes
0 answers
530 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 ...
samman's user avatar
  • 471
4 votes
0 answers
891 views

Python tkinter placeholder entry widget

I made a placeholder for entry widgets from tkinter, so I was wondering how good it is. I just started learning Python a bit before, so please do correct me if I'm wrong or if I missed something, or ...
Delrius Euphoria's user avatar
4 votes
0 answers
980 views

Tkinter - functions inside or outside of class?

I'm in the process of making my first GUI with Python. I'm trying to make something for work, so I've replaced all the info with fruits. It just lets the user tick some boxes, then creates a word doc ...
mmmmm's user avatar
  • 41
4 votes
0 answers
148 views

Automatically encrypting text editor

I have written an automatically encrypting text editor (github link). The reasons that I wrote this program instead of using vim + gpg are: It's more convenient than vim + gpg (user only needs to ...
1f604's user avatar
  • 41
4 votes
0 answers
181 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 ...
Keagan McNew's user avatar
4 votes
0 answers
2k views

Open a file selection window to top-most position from jupyter notebook

Background I came up with this solution to a question that I posted on stackoverflow. It uses Tkinter to create a file select dialog window and raise it to the topmost position from jupyter notebook. ...
James Draper's user avatar
4 votes
0 answers
765 views

Tkinter RSS feed

I am creating a GUI program using Tkinter wherein I utilise the Feedparser module. My code executes in the following way: Get the stock ticker to insert into the URL from the user. Parse the URL and ...
Nick's user avatar
  • 41
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 ...
Willem van Houten's user avatar
3 votes
0 answers
638 views

Tkinter widget for managing .ini files through ConfigParser

A tkinter widget for reading/editing .ini files Dynamically generates a form based on the contents of the passed .ini file. Why make this? I made this as a backend for a larger project; I wanted my ...
teauxfu's user avatar
  • 83
3 votes
0 answers
628 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 ...
Bruno Vermeulen's user avatar
3 votes
0 answers
99 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 ...
rmcknst2's user avatar
3 votes
0 answers
187 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 ...
ephreal's user avatar
  • 105
3 votes
0 answers
817 views

OOP Othello in Python with tkinter UI and basic AI

I wrote an Othello version with limited UI to try to learn python(3.7) and OOP. The game has 8 classes. Start creates a controller object which is responsible for the logical flow of the game. ...
E. Hall's user avatar
  • 31
3 votes
0 answers
1k views

tkinter calculator college project

I had this project where we had to build a calculator from scratch in Python. GUI was completely optional though I did include it. I'm currently awaiting grading on the project. (I have found that ...
dydx's user avatar
  • 31
3 votes
0 answers
97 views

Investment tracker allowing users to store investment information and later access it

This investment tracker allows users to store investment information and later call upon it. This is a simple solution to making investing easier to maintain. This application has a simple login ...
RonsJurisdiction's user avatar
3 votes
0 answers
448 views

JustifiedCombobox, a subclassed combobox

In an attempt to answer How to justify the characters in the drop-down list of a Combobox? I've come up with this code. JustifiedCombobox justifies the pop-down ...
Nae's user avatar
  • 407
3 votes
0 answers
5k views

Snake Game using python and tkinter

I have written a Snake game using Python's Tkinter library. I am a beginner to programming. I learned some python alone and in school. However, most of what we did in school is algorithms/data ...
aripy887's user avatar
3 votes
0 answers
59 views

Python simulacrum of windows copy window

I wrote a program to copy files with an progress bar that looks similar to Windows built in function. The copy function is run in a separate thread and the tkinter GUI is run in the main thread. This ...
jakethemc's user avatar
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 ...
sbottingota's user avatar
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 ...
OysterShucker's user avatar
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 ...
cold10's user avatar
  • 469
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 ...
Tommaso's user avatar
  • 93
2 votes
0 answers
30 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 ...
sn4u's user avatar
  • 21
2 votes
0 answers
515 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 ...
AbsentButterfly's user avatar
2 votes
0 answers
769 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 ...
oskros's user avatar
  • 121
2 votes
0 answers
60 views

Suggestions on how to update equation?

After discovering Float Toy, my goal was to create my own version using Python and Tkinter. The results of the endeavor is shown below. Most of the functionality is complete, but the ...
Noctis Skytower's user avatar
2 votes
0 answers
544 views

Tkinter setup wizard-like application with threading

This is a big script with a GUI basically. I have 4 page classes, that are children of the main Wizard class. I do most of the threading in Step3 and the scripts ...
Daniel Zaksevski's user avatar
2 votes
0 answers
27 views

Plotting Whether Measured Locations for Components are Within Spec - follow-up

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 ...
Robbie-Scotland's user avatar
2 votes
0 answers
433 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. ...
Bruno Vermeulen's user avatar
2 votes
0 answers
7k 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 ...
Raymund's user avatar
  • 43
2 votes
0 answers
143 views

Tkinter GUI Python implementation using classes

I'm really struggling to understand application of classes and best practices in fairly advanced level GUIs, and such an example could be extremely helpful. Please note that this is my first GUI ...
Adityendra Suman's user avatar
2 votes
0 answers
1k views

Python Tkinter Custom Widget (Frame) with Mousewheel Scroll Event

I try to write a GUI for practicing with one Window, containing two frames in a ttk.Notebook. Each of these Custom Widget Frames should have a scrollbar and the MouseWheel bound to a yscroll for the ...
K-Doe's user avatar
  • 337
2 votes
0 answers
2k views

Download song or video from Youtube using pytube

I wrote a small program which downloads song or video from the given youtube link. I used pytube library https://github.com/nficano/pytube and for GUI (Tkinter). ...
Jonas.S.'s user avatar
  • 165
2 votes
0 answers
1k views

UK Tax Calculator - First Python program

This is my first Python program and while it's not quite finished I would like to know how I could improve in general as a programmer. This project has be a lot of fun but it has felt more like ...
adam Wadsworth's user avatar
2 votes
0 answers
331 views

Inventory and stats for a game with Tkinter

It's an inventory UI and also displays the player's stats. I have been programming for a year or more and I want to improve my code. ...
Absolute's user avatar
2 votes
0 answers
559 views

Battle-based snake game in tkinter

Disclaimer: This code is far from complete, I am aware of issues regarding my standards of naming, my lack of comments and readability, however I am encountering a large issue which is preventing me ...
Chris's user avatar
  • 221
2 votes
0 answers
323 views

Annotating custom tkinter objects

I'm adding/editing the docstrings to my custom tkinter modules. These contain classes that are subclassing tkinter objects as well as each other. I'm trying to follow PEP 257, but applying to this ...
Geoffrey Sametz's user avatar
2 votes
0 answers
76 views

My Jack slapped back. (tkInter learning project follow up)

This is a follow up to my question here about my slap-jack program. I've tried to implement the suggestions that were given in the accepted answer. (Though I never was able to figure out how to ditch <...
nwhaught's user avatar
  • 153
2 votes
0 answers
124 views

Solve a System of linear equations with gauss algorithm

A program to solve a System of linear equations. Right now you're able to solve systems with 2 and 3 variables. It's with a tkinter-gui, where you're able to select the size of the system with the ...
HealYouDown's user avatar
2 votes
0 answers
2k views

Applying Model-View-Controller to Tkinter/matplotlib Application

I'm a novice programmer. I am preparing to refactor a large project of mine to follow a model/view/controller design pattern, with separate modules for each (and eventually separate modules for the ...
Geoffrey Sametz's user avatar
2 votes
0 answers
207 views

Downloading and transcoding music from YouTube

This is a music downloader and transcoder based on Youtube-Dl and VLC. It is written in Python 3. The PAFY Python module is required in addition to VLC. Currently, the cancel button is not functional ...
R.Campbell's user avatar
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 ...
Michael Lundie's user avatar
1 vote
0 answers
115 views

"Sticky Note" App

The code below is a Sticky Note App. ...
Shraddha Shetty's user avatar
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. ...
broland's user avatar
  • 11
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 ...
cold10's user avatar
  • 469