0
votes
0answers
6 views

How to get string in a function in Python? [migrated]

I am current writing a game with tkinter GUI Python. import sys from tkinter import* #Functions to handle button click def startgame(): player21abel=Label(text=" Guess a Letter ...
3
votes
1answer
4k views

Why use classes when programming a tkinter gui in python

I program primarily in python and have programmed a couple of GUI's with Tkinter, every tutorial I have ever seen has recommended defining and using a class for the GUI, but my GUI runs flawlessly ...
2
votes
2answers
456 views

GUI architecture and class naming advice

Problem: I'm working on coding a few light-weight touch-tablet games and often get stuck with difficulties naming my user interaction/interface classes and their relationships with each other ...