Questions tagged [tkinter]
Tkinter is the standard Python interface to the "Tk" graphical user interface toolkit.
291
questions
3
votes
1answer
483 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.
...
3
votes
1answer
185 views
0
votes
0answers
3k 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
122 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
1k 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
857 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
376 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
431 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
461 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
178 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
93 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
2k 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
97 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
3k 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 ...
3
votes
1answer
953 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
541 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
173 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
173 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
1k 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
2k 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 ...
3
votes
0answers
489 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
1answer
3k 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
1k 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
6k 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
5k 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
87 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
111 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
1k 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
76 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
196 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
998 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 ...
4
votes
1answer
218 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
5k 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
3k 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
3k 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
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).
...
2
votes
0answers
522 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 ...
7
votes
2answers
7k 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
2answers
32k 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 ...
10
votes
3answers
3k 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
351 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
214 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
495 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
967 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
102 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
8k 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
90 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
4k views
Expense Tracker for keeping track of payment information
This system is an 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
569 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 ...
5
votes
0answers
3k 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.
...