Questions tagged [tkinter]

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

Filter by
Sorted by
Tagged with
21 votes
4 answers
7k views

System that manages employee data for managers

This code is for an employee management system. The goal that I am trying to reach is to allow managers to access data of their employees more easily. The data that is entered is saved to a CSV file ...
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
17 votes
2 answers
1k views

Python Manga Image Viewer

I'm currently making a manga (read: comic) viewer in Python. This project has been a code-as-you-learn project, because I have been trying to code this as I learned about Tkinter. Python I have known ...
user avatar
  • 236
13 votes
3 answers
5k views

Replacing Skype, reinventing the chat client

I'm creating a chat client and chat server after a several month programming hiatus. The goal is to make one with features I want but it's also a learning project. Although it's mostly because I'm ...
user avatar
  • 133
13 votes
2 answers
2k views

Python Sound visualizer

The past week I have tinkered making a sound visualizer using Tkinter, Matplotlib, NumPy, PyAudio and using a thread to be able to play the sound and to display the plot at the same time. I have been ...
user avatar
11 votes
1 answer
9k 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....
user avatar
11 votes
2 answers
3k views

A general purpose GUI data input, with validation, but unclear about best object design

When I'm throwing together prototype code, I don't want to spend extra time setting up parameters, or chasing down problems from entering parameters wrongly. So this is a general purpose, fairly easy ...
user avatar
  • 343
11 votes
1 answer
236 views

Creating an app for selecting a folder

The script creates a simple app with a GUI containing an input field and a button to select a folder. On startup a default value is set to the input field. If the user types a value or selects a ...
user avatar
  • 143
11 votes
1 answer
13k views

Tkinter GUI for making very simple edits to pandas DataFrames

(NOTE: Python2 only) It is part of a separate application that allows users to interact very loosely with different databases and check for possible errors and make corrections. ...
user avatar
  • 353
10 votes
3 answers
2k views

Python Flashcards

I have made a flashcard program. It opens a small window and displays a series of questions. Since I am new to programming, how can my code be improved? ...
user avatar
  • 123
10 votes
3 answers
935 views

Simple word shuffling game

I have made a game (I like to code when in my spare time) where words are taken at random from a list and displayed on a label. If they type it correctly, their ...
user avatar
  • 273
10 votes
2 answers
41k views

Classic Snake game using Python, Tkinter, and threading

I have just installed Ubuntu and am re-familiarizing myself with Python. I learned the basics in late 2012-early 2013 and I'm practicing with it in order to get better at programming concepts and ...
user avatar
10 votes
3 answers
1k views

Feynmann lifeguard riddle graphical representation

Physicist Richard Feynman though of a very interesting riddle: Imagine you are a lifeguard at the side of the beach and there is a child drowning in the water. (You must cross both sand and water to ...
user avatar
  • 27.3k
10 votes
3 answers
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 ...
user avatar
  • 101
10 votes
1 answer
2k views

Python snake game

If anyone has the patience to take a look at my first python snake game, I'd be very grateful for any feedback. I am fairly new to programming and Python, but am looking to improve so any constructive ...
user avatar
  • 203
10 votes
1 answer
164 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
10 votes
1 answer
6k views

The YouTube crawler

I have coded a program to scrape YouTube data (for educational purposes). When the link of the channel is entered it scrapes the channel name, description of the channel, the videos posted by the ...
user avatar
9 votes
2 answers
866 views

GUI for a quiz tool or game

I just started working on a little project to help me study for a course I'm taking. Is there anything I can do to improve code readability / bad practices? I had to remove most of the labels and ...
user avatar
9 votes
1 answer
4k views

Flipbook type animation with Tkinter

I am writing a program in Python that takes a folder of images and animates them. For example, going through a list of pictures like this and animating them one by one: Relevant features include: ...
user avatar
  • 143
9 votes
1 answer
2k 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 ...
user avatar
  • 193
8 votes
2 answers
4k 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 ...
user avatar
8 votes
4 answers
3k views

Automatic ping check program

Am I commenting enough? Are my variables properly following correct styling format? Is there a more efficient way to code my "Label coloring" conditions? ...
user avatar
  • 169
8 votes
1 answer
4k 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" ...
user avatar
  • 337
8 votes
1 answer
6k views

Clean code and SOLID principles for a simple Python TicTacToe game

I recently read the book Clean Code and I also did some research on the SOLID principles. I'm looking for general feedback on if I was able to transpose the examples (written in Java) to Python while ...
user avatar
  • 275
8 votes
1 answer
520 views

Double pendulum animation with tkinter

here is my first project : I have made a double pendulum animation with tkinter on Python. Can you give me some feedback on what can be improved ? Thanks ! Code : ...
user avatar
  • 193
8 votes
1 answer
7k 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 ...
user avatar
  • 11.4k
7 votes
2 answers
4k views

Very Ugly Tkinter Calculator

I have been working for about a week on a calculator in Tkinter, and the result is a very ugly, but functional calculator. Is it possible to clean up the code, and make it more readable? ...
user avatar
7 votes
3 answers
242 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
7 votes
3 answers
10k 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 ...
user avatar
  • 276
7 votes
2 answers
2k views

Caesar cipher with GUI

I have created a functional Caesar cipher in Python 3 and I have implemented a GUI using Tkinter. ...
user avatar
  • 27.3k
7 votes
1 answer
576 views

Digital clock with Python Tkinter

While learning about python tkinter, I decided to make a digital clock: ...
user avatar
7 votes
2 answers
14k views

Searching Combobox drop-down list

I've created a Combobox GUI that allows the user to search through the Combobox by entering a letter on the keyboard. If user ...
user avatar
7 votes
2 answers
5k views

Displaying a scrolling stock exchange ticker in a window

I've written my first OOP program (194 lines including docstring and comments) in Python that uses Tkinter as GUI and Threads. The program shows a window and displays a scrolling stock exchange ...
user avatar
  • 123
7 votes
2 answers
160 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
7 votes
1 answer
3k 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 ...
user avatar
  • 181
7 votes
1 answer
9k views

Simple Tic-Tac-Toe using tkinter

I've been learning programming using a book about Python for a few months. To explore object-oriented programming, I built a few things in tkinter. When I started this code, I wanted to be able to ...
user avatar
7 votes
1 answer
902 views

Properly Structuring a Tkinter Application

I'm fairly new to object oriented programming and while I understand the basic concepts, I'm still having some trouble organizing my applications. I'm building a small Tkinter application as a ...
user avatar
7 votes
1 answer
4k views

Refactoring Tkinter GUI that reads from and updates csv files, and opens E-Run files

Background My lab administers four computer programs in three separate appointments. At each appointment, the subject does the programs in a pseudo-randomized order. Also, three of the programs have ...
user avatar
  • 125
7 votes
2 answers
506 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
7 votes
1 answer
234 views

Image editing in the frequency space

I wrote a little script that should load a GUI for deciding the bandpass filter. I'm a hobbyist programmer so I look here for comments that will help to improve my code abilities. The applet should ...
user avatar
  • 557
7 votes
1 answer
3k 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 ...
user avatar
7 votes
1 answer
762 views

First Game: Simon Game

I am working on a Simon game using python and tkinter, just now it is incomplete, but I don't know if I am doing it right because it looks messy, and I would like to have a check on my code for ...
user avatar
  • 81
7 votes
1 answer
129 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
6 votes
3 answers
7k views

Python colour game

This is a Python program that requires the user to type the colour of the text and not the name of the colour. They have a set time limit and a scoring system. If you have any improvements or ...
user avatar
  • 445
6 votes
3 answers
308 views

Simple word shuffling game - follow-up

From my previous question, I got great feedback which helped improve my code which I submitted. I went back and built upon that and came back to see if my code is an improvement. ...
user avatar
  • 273
6 votes
1 answer
4k views

Does this tkinter-based web browser widget use a well implemented class?

I have fully functional code in class format, and as far as I am aware from my previous question, it conforms to PEP 8 and the code logic and implementation is suitably pythonic. My main concerns here ...
user avatar
6 votes
3 answers
119 views

Python Display Streamlining

I have designed a basic interface for a smart mirror I made. I coded it to include the time, date, and several phrases that refresh every 24 hours. The phrases are just some random quotes as examples. ...
user avatar
6 votes
2 answers
2k views

Minimal spreadsheet program

I wrote a very minimal spreadsheet program in Python with tkinter. Here I present the help text: You can use this program to calculate neatly in table format. ...
user avatar
  • 27.3k
6 votes
2 answers
326 views

Typing training with GUI in Python

This script allows you to practice your typing skills, as soon as you finish typing a new word appears for a non-stop typing experience. The code has in memory the top 100 words as per the Pareto ...
user avatar
  • 27.3k
6 votes
2 answers
2k views

Python tkinter GUI

I'm making a little Python script that reads a text file and puts it on a HTML page. I haven't finished that part yet, but I've been working on the GUI with tkinter. Is my code sloppy? ...
user avatar
  • 61

1
2 3 4 5
7