Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [tkinter]

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

6
votes
0answers
40 views

Simple integration of async and tkinter in Python

I've been a fan of coroutines and asynchronous programming for a while, and I recently took a trip down memory lane to when I was using Python's tkinter module for ...
1
vote
0answers
24 views

Target number solution finder

This is a Target number solution finder which I made with tkinter and is where the user enters a number they want and enters 4 other numbers to find the sum to make the number they want. This is a ...
3
votes
1answer
43 views

Computer Science glossary made with Tkinter

This is a Computer science glossary that I made with Tkinter. The user inputs the word that they want and then the code searches the text file for it and then ouputs it to the user. ...
5
votes
2answers
98 views

Calculator in Python3 using Tkinter

I´m a beginner developer and I chose Python as my initial language to learn. This is my very first project: a calculator using tkinter for GUI. I´ve tried to apply some OOP and modules approach, as ...
4
votes
1answer
49 views

Create the logic game Mastermind using a GUI

This code uses a single Mastermind class to hold everything needed as a tkinter widget that inherits from tk.Frame. Is this the best way of organising something like this or would it be better to use ...
2
votes
1answer
31 views

Converting words/numbers to Discord “letter/number emojis”

I am a beginner to Python (and programming overall) and I decided that it would be funny if I wrote a program that could convert Letters/Numbers to these "Letter Emojis" in Discord. It works but I am ...
4
votes
2answers
74 views

Python - Random Mandala

I did a project in Python where I combined user-input, random, and the turtle module to make a sort of "Mandala Generator", or a program that can generate a simple design either randomly or by the ...
8
votes
2answers
102 views

First Python GUI Calculator with exponentiation function and percents

I made my first Python project with the help of Tkinter. I was trying to make it works like iPhone calculator. I am a beginner and I am looking for ways to improve my code. I use PyCharm and got rid ...
2
votes
1answer
51 views

2-team fraction quiz/test in Python 3 with Tkinter

I created a math quiz/game called "Factions". In the game, there are 2 teams. Red team and Blue team. They take turns answering questions relating to fractions. If they get it correct, they gain ...
3
votes
1answer
60 views

Tkinter stopwatch

As part of a personal project, I wanted to make a stopwatch with Python. I wish to show my friend but at the moment it is a little messy and long. Is there any way to make it more compact or easier to ...
3
votes
0answers
70 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 ...
2
votes
1answer
41 views

SQLite3 account creator

This program allows users to create and log into their account. The database is created using SQLite3 and the GUI is just simple tkinter boxes. I just want to know how to improve my code, organise it, ...
0
votes
1answer
33 views

Simple tkinter application that choose a random string

I am really new to programming, and I made this simple tkinter app in python. Please tell me what can be improved and how to use classes correctly in combination with tkinter. Github to clone if you ...
5
votes
2answers
98 views

Area and volume calculator

I'm a beginner coder, doing it solely for fun, having started coding about two months ago with Python. I have a working piece of code for calculating area and volume of different geometric shapes, ...
3
votes
1answer
104 views

First python program: basic calculator

I want to start learning python for fun and so I could dig into machine learning projects later in the future maybe. I started off with a small calculator project just to get the hang of the language ...
4
votes
0answers
52 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 ...
3
votes
1answer
120 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. ...
2
votes
1answer
41 views

GIF/PPM to greyscale converter

This is my take on an image → greyscale converter. ...
0
votes
0answers
412 views

Tic Tac Toe game in Python 3.X using tkinter GUI version 2

I am completely new to programming and to python and as my first self-learning project I am creating a simple Tic-Tac-Toe game. I have already posted a version of my code here on stack: Tic Tac Toe ...
1
vote
1answer
48 views

BTC price checker with web scraping, regex and Tkinter GUI

The purpose of this was to practice web scraping, regex and GUI. I use a popular bitcoin website to scrape the names and prices of the top 16 cryptocurrencies. I then create a data frame and make a ...
2
votes
1answer
577 views

Tic Tac Toe game in Python 3.X using tkinter UI

I am learning to program in Python and as my first project I decided to create a simple Tic Tac Toe game. The game is working properly now and I am wondering if there is anything I could do to improve ...
4
votes
2answers
325 views

Treasure hunt game

This code is for a board game program, which works by placing the user on a grid which then tasks the user with finding all the treasure chests. Each chest landed on gives 10 gold. However, landing on ...
1
vote
0answers
115 views

Python UI with Tkinter

I started with Python and Tkinter and am trying to make my first steps by creating a simple UI with a header, sidebar (currently just a label) and a few labels and entries. Before I go on I want to ...
4
votes
2answers
139 views

Python coin flipper with GUI

I am doing some simple projects in an attempt to get good at programming, this is my first GUI would love some feedback, and some guidelines. ...
3
votes
1answer
112 views

Custom autoclick Python script

I'm a newbie Python programmer and I just made my first script which allows autoclicking into various positions of the screen (3 for now) an X number of times with an Y interval. I'd like to know ...
2
votes
1answer
85 views

Adding GUI to game of life hinders performance

I created a simple game of life and I used console prints to debug and visualize it at first. However, when I tried to introduce GUI (using Python tkinter), the ...
2
votes
0answers
71 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 ...
2
votes
1answer
259 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? ...
1
vote
0answers
58 views

Arabic Language lesson program Part 3

This is the third time I am asking for a review of this code (first time can be found here: Arabic language lesson program and the second can be found here: Arabic language lesson program Part 2). ...
5
votes
1answer
701 views

Python 3 calculator with tkinter

I have been programming for a long time. Only recently have I decided to take a stab at Python (I should be working with C# as I am in school for it, but I don't care for Windows, long story). I was ...
2
votes
1answer
556 views

Tkinter based calculator

I've recently finished building a calculator in Python using Tkinter, and would appreciate any and all feedback on it. Please ignore the use of the eval function, ...
-1
votes
2answers
187 views

Battleships “AI” function

I would like some advice on how I could shorten my function from my battleships game (below). Essentially what it does is it checks if a coordinate is a hit and if it is, then if checks adjacent ...
5
votes
1answer
154 views

Arabic language lesson program Part 2

This is the second time I am asking for a review of this code (first time can be found here: Arabic language lesson program). The goal of the program hasn't changed - to house Arabic language lessons ...
5
votes
1answer
127 views

Arabic language lesson program

The program I have been working on has been developed almost exclusively as "train-of-thought" style code. Things happen linearly (for the most part) thru the code. The goal of the program is to house ...
4
votes
2answers
468 views

Simple Python calculator applying MVC

I've been implementing a simple Python calculator for learning purposes. Since there are no properties or bindings like in Javafx, I implemented my own MVC pattern. I'm aware of missing logic like ...
7
votes
1answer
582 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 ...
3
votes
0answers
267 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. ...
1
vote
0answers
128 views

Tkinter prank to display a bouncing picture

I have programmed a virus prank in Python with the tkinter module. The program creates a window with a picture of Jake Paul's face on it. The window bounces around the screen. I am planning on ...
1
vote
1answer
681 views

On tkinter: scrolling multiple widgets simultaneously in different frames

Below is an example on how to scroll two canvasses in two separate frames simultaneously. The trick is on how to pass on *args from the bindings to function ...
3
votes
1answer
435 views

Memory Game using Tkinter/Pygame

I'm very new to python and programming in general. For a school assignment, I made this Memory Game and would love to receive feedback from you guys. ...
4
votes
1answer
1k views

Pandas/Tkinter GUI Excel report generator

I built a GUI tool that takes excel files and outputs a finished report to help automate a report at work. It was a fantastic learning experienced and I feel much more comfortable with pandas and ...
3
votes
1answer
2k views

On click, doubleclick and mouse moving

I have an application using tkinter where different actions are required on mouse click, double click and when the mouse is being moved. The following class works however I wonder if there is no ...
2
votes
1answer
64 views

Iterable and .db file searcher that imports data

This Program is a tool that allows me to import data from files that may not be easy to read just by opening; such as .db files which are wayyyyy to hard to understand just by opening the file in ...
3
votes
1answer
81 views

Enhancing a Conversion calculator

Could I please have some ideas how to improve this conversion calculator I have made. I am currently not looking to add any more quantities, but rather trying to enhance the usability and add some ...
9
votes
1answer
771 views

Simple cryptocurrency portfolio rebalancer

EDIT: the code has been changed significantly since the OP based on the first posted answer and some refactoring. Feedback on the general design of the app itself is still more than welcome. The ...
4
votes
1answer
71 views

Small tile coloring app

I made a small app that revolves around coloring tiles - I am a newby to Python so I am unsure whether I followed the general guidelines correct (use of functions and classes, format, syntax) You can ...
2
votes
2answers
124 views

Smart Mirror utilising python API's

I am making an object-oriented python project for a smart mirror running on a raspberry pi. The code receives input from API's, formats the data and displays it on the mirror. I would like to know ...
2
votes
0answers
446 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 ...
5
votes
1answer
111 views

Disco Dancefloor Mini-Game

I was told to have my code reviewed here as I am a total beginner to Python. I made a small Tkinter script that generates a 4x4 field of buttons and randomly recolors them when clicking on any button, ...
9
votes
1answer
2k views

Tkinter 1 Player Tetris game

README.md Tetris game I am working towards making a Tetris game where you can challenge an AI. Multiple parts have been finished, but a lot is still under construction. However I would like an ...