Questions tagged [tkinter]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
675 views

GUI flashcard training

Aim This program will help you train your memory on facts and trivia by the use of flashcards. How to use Type start to start, then type the answer to the ...
3
votes
1answer
5k views

Quiz application with tkinter

I am making a quiz app using tkinter in Python. I will be having a database that will have questions and options to display in application. Is it good to structure the program as shown, or should it ...
2
votes
1answer
3k views

Function Plotter GUI in Tkinter and Matplotlib

I have been working on plotting time varying functions in Python as my most recent project, and would love input on optimization, proper Tkinter form, and anything that stands out like a sore thumb. ...
4
votes
0answers
1k 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. ...
7
votes
1answer
8k 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 ...
6
votes
1answer
2k views

Sudoku solver with Tkinter

The code below is a Sudoku solver using backtracking. There is a fast mode which doesn't display the permutations in the Tk widget in real time; only the solved grid. This is the second version of a ...
6
votes
2answers
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. ...
0
votes
1answer
240 views

Phone troubleshooting questionnaire with Tk GUI [closed]

I have been tasked to create a GUI that asks the user questions about a mobile device.the GUI I have created asks the user a sequence of questions to try and come to a solution.However, I feel that my ...
2
votes
1answer
290 views

Testing an implementation of ports-and-adaptors for tkinter

I'm trying to test my implementation of ports-and-adaptors for tkinter. Assume I have a tkinter Entry declared like so: ...
2
votes
1answer
69 views

Displaying an arbitrary number of buttons and automatically arranging the buttons

It is supposed to take an arbitrary number of arguments, turn those arguments into buttons, and arrange those buttons in a way to give each individual button the largest area possible. Is there a ...
1
vote
1answer
1k views

Creating and calling objects sequentially in Tkinter with Python 3

I am trying to build a very simple user interface in Python 3 using Tkinter to be used in windows. and have written a code which is not efficient - it is excessively long for no good reason. I am ...
3
votes
0answers
50 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 ...
4
votes
2answers
394 views

Python Stock Checker

...
5
votes
2answers
459 views

Widget setup for Tkinter-based game

I'm thinking of making a little strategic game using tkinter (player should interact with it using buttons). But my code is very repetitive. This is a mock-up of my program: ...
2
votes
0answers
204 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 ...
3
votes
1answer
183 views

Activity time & duration tracker

This is my first attempt at creating a simple Python tool that tracks the time of certain activities retrieved from a database. After stopping the timer, this tool writes the duration of the activity ...
3
votes
1answer
160 views

Tortoise Helper Program

Recently, the following code was written to help automate some processes that are typically executed while working with a Mercurial database. What is shown below is basically a first draft of the ...
3
votes
1answer
68 views

Instantiating widgets

In my Tkinter projects I almost always end up with __init__() methods that look like this: ...
1
vote
0answers
1k views

GUI in Tkinter to log events for a web-scraper

I'm creating a GUI with tkinter that will handle starting/stopping/and logging events for a web-scraper (scraper not created yet). The current code is working... but I've been gathering my ...
3
votes
1answer
5k views

Python Calculator using tkinter

I created a basic desktop calculator using Python. Does anyone have any suggestions as far as coding best practices, readability issues, or just generic coding mistakes I might have missed? Any ...
6
votes
1answer
7k views

Create a weather app in Python

I've created the following app in Python 3.5. The app uses pyowm and will take a location and return weather information. I've also built a GUI with tkinter for it. Keen to find out some tips to ...
8
votes
1answer
710 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 ...
5
votes
1answer
180 views

Escalation approval tool, copy to clipboard via Python

I created a simple little script for the people I work with, what it does is copy information to the users clipboard for escalation approvals. It's pretty simple and not very exciting but I want to ...
5
votes
1answer
1k views

Multigeneration evolution simulator, graphing phenotypic change

I created an evolution simulator. It takes random chance and applies it to phenotypes of species. This was very much for fun, and I would love any input on: Readability of code Efficiency of ...
9
votes
1answer
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: ...
3
votes
1answer
621 views

Mad Libs program

My code creates a Mad Libs program. Its a prewritten story that you fill in blindly. There are 4 pages of 7 entry boxs and labels. When the inputs are in and next is pressed it saves inputs as ...
4
votes
0answers
605 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 ...
2
votes
1answer
1k views

Network graph canvas display using Tkinter

I made a little application (for windows, but easily compatible with linux by just changing some lines) for displaying a little network graph using Tkinter and Python. I basically draw lines higher ...
3
votes
1answer
2k views

Display a simulation using Tkinter

I wrote a module to simulate physics of 2D elastic balls and the community helped me to improve it on this post. Now I implemented a GUI using Tkinter to display the simulation in a window. I'm a ...
2
votes
1answer
2k views

Scrolling game very slow

I am trying to make a scrolling game in Tkinter. However, with all my for loops and functions it is extremely slow. I am reading the tutorial from Khan Academy's advanced JS. In their JS game ...
5
votes
1answer
575 views

Tkinter File Removal Program

This was my first foray into a Tkinter app and so I chose a simple and certainly overkill task to make into a gui. Aside from one small aspect, this code functions as I was intending and seems to ...
10
votes
1answer
6k views

The YouTube crawler

I have coded a program to scrap YouTube data (for educational purposes). When the link of the channel is entered it scraps the channel name, description of the channel, the videos posted by the ...
2
votes
1answer
279 views

Simple name-drawer using Python and Tkinter

I am a beginner playing around with Python and Tkinter. I wrote this program to draw random names given the students in my classes. I tried to follow PEP 8, but I was wondering if there are any ...
3
votes
1answer
3k views

Python Tkinter Game - Treasure Hunt

I used to write a bit of BASIC years ago, and recently found an old book called "Fun Mathematics on your Microcomputer" with some mathematical games in. I'm learning Python and have tried to implement ...
0
votes
2answers
362 views

Minesweeper, python Tkinter, Checking close by tiles

Is there any smart way to compress the following code: ...
4
votes
1answer
3k views

Calendar made with tkinter

I made a calendar that displays text documents according to month. Thankfully it works, although I could really use some help how to make it more better looking and efficient. I'm new to programming ...
2
votes
2answers
758 views

GUI Caesar Cipher with model-view-controller

I created a Caesar Cipher Program in Tkinter, to help me learn the Model-View-Controller concepts and Tkinter in general. The code works, but it is a mess, and I want some help on cleaning it up, ...
13
votes
3answers
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 ...
6
votes
3answers
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 ...
1
vote
1answer
485 views

Selecting a random student from a class list

This selects a random student from a class list, stored in a .ss file: ...
5
votes
2answers
382 views

Generating simple and complex passwords

I am pretty new to Python and I would like some tips and criticism on my formatting style/code and what can be better organized. I am a bit shaky on how classes work, but I think that it can be used ...
1
vote
1answer
5k views

Created a frame with a disabled button, till check button is used, then return to starting state

I've been coding Python for little over 6 months now. I am self taught and I would like to ask for some help for myself and also for others in my position who's been wondering if they're going about ...
8
votes
4answers
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? ...
6
votes
3answers
296 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. ...
10
votes
3answers
899 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 ...
3
votes
1answer
3k views

Read decibel level from a USB meter, display it as a live visualization, and send it via FTP

This question was posed to me by someone in my university's athletics department who had a USB sound level meter and a simple Python script which printed the current sound level (he was provided with ...
7
votes
2answers
12k 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 ...
2
votes
3answers
11k views

Calculator using Tkinter

So this is my first project. I made a Calculator using Tkinter. For the next version, I will try adding oops concepts Custom parser for input Here's the code ...
4
votes
2answers
9k views

Simple data entry form that writes data to textfile

I made a data entry form that writes each category into a text file. As an example I used Regular, Premium and Diesel categories. They each have open, delivery, total, sales and close numbers for that ...
6
votes
2answers
295 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 ...