Stack Exchange Network

Stack Exchange network consists of 174 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.

2
votes
0answers
45 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 ...
1
vote
1answer
30 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 ...
0
votes
0answers
31 views

Quiz Game Menu Frame

I am working on a menu screen program that will allow users to select quizzes on different categories and sub-categories. I had started with pygame initially but decided to switch to tkinter because ...
2
votes
0answers
34 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 ...
0
votes
0answers
24 views

Python Tkinter Calculator

So this is a fine working calculator, everything is implemented except the period operation. I want to improve the code as much as possible, speaking about the following basics: clean code type ...
2
votes
1answer
94 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
54 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). ...
4
votes
0answers
82 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
220 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, ...
0
votes
2answers
101 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
138 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
76 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 ...
3
votes
1answer
86 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 ...
0
votes
0answers
25 views

Best practices for tracing a menu using Python Tkinter

I made a function that traces a menu in Tkinter and disables entries accordingly. I didn't complicate stuff up as the menu didn't contain many items. I want to ask if this code is following the best ...
7
votes
1answer
155 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
52 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
46 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
50 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
76 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
249 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
226 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
37 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
66 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 ...
0
votes
0answers
81 views

Badminton doubles automatic game-making GUI (Python 3, Tkinter)

This is a program I created for my social badminton club. I've used it for the last few weeks and it's worked fairly well so far. The full code is on Github here. We operate with three courts (each ...
8
votes
1answer
405 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
68 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
84 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
259 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
79 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, ...
8
votes
1answer
376 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 ...
4
votes
1answer
243 views

Changing the default printer in Windows

Where I work there's two different printers being used on a daily basis, one of them prints things from a particular program, which only uses the default printer. A lot of the times, during busy ...
8
votes
1answer
286 views

Python beginner code for a currrency converter

I am also pretty new to Python so I want to show my code for a very small currency converter with an Tkinter GUI. The code does what I want, but now I want to optimize it and find new "next level" ...
2
votes
0answers
465 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). ...
2
votes
0answers
63 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 ...
5
votes
1answer
987 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 ...
4
votes
2answers
4k views

Binding a keyboard key to a Tkinter button

I'm specifically asking about binding a keyboard keystroke to a button in a GUI. Originally I planned to bind the keystroke to the GUI button itself, but that seemed impossible, and potentially unwise ...
11
votes
3answers
767 views

Python 3 simple Minesweeper game using tkinter

I am relatively new to programming, and I wish to use this simple minesweeper game in a portfolio. A few questions: Currently, game setup gets progressively slower with each reset button call, and ...
3
votes
2answers
253 views

GUI interface for company specific calculator

I created a customised GUI application in Python, which is a calculator that does some basic functions for my company. I would like to ask you for overall suggestions for code improvement. ...
2
votes
0answers
113 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. ...
2
votes
0answers
214 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 ...
3
votes
0answers
582 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 ...
5
votes
1answer
93 views

Python program that checks connections based on URLLIB response

The main function tries to create a urllib connection, and if it fails/succeeds the label changes accordingly. However, I'm looking for ways to improve this code. Some elements I'm already aware of: ...
11
votes
1answer
1k views

2048 game written in Python

This is the first time that my code is being reviewed after two years of learning of Python as autodidact. I've never took a course or a class, but I've only read books and seen some videos on youtube....
3
votes
0answers
63 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 ...
6
votes
1answer
251 views

Expense Tracker for keeping track of payment information

This system is a expense tracker. It allows ordinary people to track expenses, like bills , car notes, and keep up with the payments they make. I had this idea after my father and mother began to mess ...
5
votes
2answers
141 views

Python program that pings and outputs a response in Tkinter

I have a program that allows me to check (in a nicer way than using command prompt) what my ping will be when playing League Of Legends. I've implemented all of the elements that I had hoped, however ...
3
votes
0answers
758 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. ...
4
votes
1answer
3k views

Python - Quiz Game with Tkinter

I have made a little Quiz Game in Python. This was my first experience in programming Gui's in Python with Tkinter. In general, I do not have much knowledge about graphic programming and have acquired ...
2
votes
0answers
142 views

JustifiedCombobox, A subclass of ttk.Combobox that has adjustable pop-down list item justification

In an attempt to answer How to justify the characters in the drop-down list of a Combobx? I've come up with this code. JustifiedCombobox justifies the pop-down ...
1
vote
0answers
261 views

Game of Life simulation using Python and Tkinter

I gave Conway's Game of life a go with Python 3 and Tkinter. I am a beginner looking for advice/commenting on my code. This is my second pseudo-real program (I posted my code for a Snake game). I ...