Tkinter is the standard Python interface to the "Tk" graphical user interface toolkit.
2
votes
1answer
83 views
Autoclicker Tkinter Program
I made my first program that I might actually use and I was wondering if anyone had some tips on how I could improve it.
My code is an auto-clicker that uses Python3 ctypes for the clicking and ...
2
votes
0answers
46 views
CAPTCHA reader and maker
I've made some CAPTCHA reader and maker in Python using Tkinter. Do you know if it's possible to keep image and output files in "memory" not writing them on disc? Because right now everything is ...
4
votes
1answer
1k views
Tkinter file searching program
This is my first relatively big program. First it shows an askdirectory() screen to get the path. It gets all subfolders of that path and appends them to a list. It ...
2
votes
0answers
44 views
GUI for products and orders
I am building a simple Store Management System and I have 4 classes, 3 of which are for Product, Vendor and ...
10
votes
2answers
385 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 ...
1
vote
1answer
77 views
Memory game with Turtle
A while back I had to do a project for school in Python, creating a game or something interesting. I decided to make a memory game. The code isn't really nice and neither are the variable names. It's ...
4
votes
1answer
101 views
C IDE in Python with Tkinter
I have decided to code an IDE for C using Python with Tkinter. I tried to use my best functional style and keep functions small. This programme works perfectly in Linux with Python 2.7, but it should ...
2
votes
1answer
116 views
Making a list from user input - follow-up
I have made the changes that people have suggested from my previous question. I want to try and make it even tidier if possible. What can I change to make it more optimized? My ...
2
votes
3answers
213 views
Basic text editor in Python with Tkinter
I have finished writing my nice and little text editor in Python with Tkinter.
I tried to achieve the best user experience that I could.
I want this code to be 2/3 compatible, I tested it in both ...
6
votes
2answers
241 views
Caesar cipher with GUI
I have created a functional Caesar cipher in Python 3 and I have implemented a GUI using Tkinter.
...
1
vote
0answers
61 views
Tkinter initializing method in class
I created a simple program that displays 28 numbers on the screen. Currently, nothing happens when you click on the numbers. Eventually, I want the numbers to disappear on click. Also, when you click ...
2
votes
2answers
4k views
Animation with 5x5 map of cubes
I am trying to learn how to animate with tkinter. The code below is an example I was able to build. It creates a small 5x5 map of cubes, then one of them randomly moves around the screen (preferably ...
7
votes
2answers
262 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 ...
8
votes
1answer
3k 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 ...
5
votes
1answer
930 views
Python Sudoku GUI
This code implements a data structure for representing a Sudoku board, a very simple algorithm for setting up the board, and a GUI written in tkinter(requires tkinter and tkinter.tix).
...
6
votes
1answer
438 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 ...
5
votes
0answers
86 views
Proof of concept and learning exercise for the 'ports and adapters' architecture
The script creates a simple app with a GUI containing a 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 ...
4
votes
2answers
65 views
Changing attributes in different objects
First some background - I am developing a Python program which has thousands of lines spread across many files. I have intermediate programming skills - and no commercial OOP experience, and have ...
3
votes
1answer
178 views
Making a list from user input
I have wrote a program that lets the user open up there text file that would look something like this:
1
2
3
4
5
6
It would then let the user enter a name for ...
1
vote
4answers
861 views
Binary/decimal/hex converter using Tkinter
I debated long and hard before posting this question, and I did a lot of experimenting. I just can't seem to work out an 'elegant', concise way to get done what I want done in the manner I want it ...
6
votes
1answer
1k 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 ...
6
votes
1answer
607 views
Game of Life, separation of logic / GUI
This is one of my first steps with GUI. I've tried an implementation of Conway's Game of Life with TkInter.
I would appreciate any opinions about my code, especially about the separation of GUI and ...
4
votes
2answers
387 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?
...
1
vote
1answer
2k views
Implementation of Battleship in Python TKinter
I am very new to GUI programming, and I'm pretty sure I'm doing it wrong. Please take a look at my code, and suggest some changes. I feel it's way too complicated for what it's actually doing.
For ...
3
votes
1answer
309 views
Python Tkinter OOPS code optimization
I have the following oops code, I am also monitoring user activity to see if it is idle for more than 5 seconds. I am very new to oops, so just want to understand if there are better way to implement ...