Tkinter is the standard Python interface to the "Tk" graphical user interface toolkit.
5
votes
1answer
85 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 ...
5
votes
1answer
89 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 ...
5
votes
2answers
88 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
89 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 ...
1
vote
1answer
78 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:
...
1
vote
1answer
25 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
45 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
17 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
110 views
5
votes
2answers
75 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
99 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
62 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
75 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
25 views
Instantiating widgets
In my Tkinter projects I almost always end up with __init__() methods that look like this:
...
1
vote
0answers
117 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
2answers
99 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
241 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
166 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
68 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
99 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 ...
8
votes
1answer
258 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
81 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
44 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
88 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
307 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
95 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 ...
4
votes
1answer
64 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
641 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
81 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
1k 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
116 views
Minesweeper, python Tkinter, Checking close by tiles
Is there any smart way to compress the following code:
...
4
votes
1answer
212 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
205 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, ...
12
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 ...
5
votes
3answers
1k 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
99 views
Selecting a random student from a class list
This selects a random student from a class list, stored in a .ss file:
...
3
votes
2answers
101 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
191 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
2answers
255 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?
...
5
votes
3answers
95 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.
...
9
votes
3answers
160 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 ...
2
votes
1answer
368 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 ...
5
votes
2answers
2k 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
3k 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
981 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
210 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 ...
4
votes
1answer
848 views
Python GUI for cropping and saving images quickly
I wrote a simple GUI applications to help me select 'positive' regions of a bunch of photos for the purpose of training an object detectir using OpenCV Haar Cascades.
For training purposes, you need ...
5
votes
1answer
215 views
“Lights Off” puzzle in tkinter
I'm a newbie in Tkinter and I've managed to make the "Lights Off" puzzle using Tkinter with Python 3.
The game starts by presenting 9 buttons arranged in a 3x3 matrix. The text of the button will be ...
10
votes
1answer
383 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 ...
2
votes
0answers
57 views
Elo Rating Tracking Applet
I have a little applet that I wrote in Python and Tkinter, and I was wondering what a good way would be to make it public, or open source or whatever.
I think it's quite fun. You can add players, ...