1
vote
2answers
21 views
Python post increment variable in function call
Premise: I am trying to make a bunch of buttons in Tkinter and put them in a grid layout one after the other. I don't want to hard code each grid value that way I can add more buttons later with ease.
...
0
votes
0answers
16 views
Import Image into tkinter
Ok so I'm currently writing a simple image viewer and I have enough code to be able to view those images, but the only problem is to view the images you want. You have to put them in the same ...
3
votes
2answers
45 views
Python GUI programming using drag and drop, also incorporating stdout redirect
Hi to everyone & thanks in advance for any help given!
I'm new to programming & new to python. I've just developed my first script, it prosesses file, but at the moment only from the ...
2
votes
1answer
17 views
Tkinter: a simple way to avoid race conditions between an event and value update?
The issue
My issue is pretty simple, but I couldn't figure out how to cope with it easily even after some googling.
So I have a checkbutton:
self.but_val = IntVar()
self.but = Checkbutton(frame, ...
0
votes
1answer
28 views
Socket program need an integer
I have a chat client and but when I run it I get an error like this:
Traceback (most recent call last):
File "C:\Users\Public\Documents\Programming\Chat Client\Chat Client.py", line 21, in
...
0
votes
1answer
15 views
Socket chat client error
I have made a chat server client but when I run it I get this error:
Traceback (most recent call last):
File "C:/Users/Public/Documents/Programming/Chat Client/Chat Client.py", line 21, in
...
0
votes
1answer
19 views
Python Tkinter horizontal auto scrolling label
Currently, i have this python tkinter label that scroll through the text horizontally.
deli = 100
svar = tk.StringVar()
labl = tk.Label(root, textvariable=svar, ...
0
votes
1answer
28 views
Horizontal Scrollbar not working in Python TKinter Frame
I have a canvas (for ttk.Frame not having xview,yview methods) holding frames inside of it, which I want to browse horizontally, as they are in the same row. Found some tutorials, and while they were ...
0
votes
1answer
29 views
python how to add text to a oval?
Im making a "math bubble" game in python 3.3, its where ovals(bubbles) move around randomly on the canvas, These bubbles have a number on them e.g.2 and the user must pop/click the bubbles in relation ...
0
votes
1answer
24 views
Tkinter Menu and Buttons
I'm trying to make a Tkinter menu that is like a taskbar checker.
So if I go to this menu and check a box, a specific button then appears on my window, and then the user can select multiple buttons ...
2
votes
1answer
32 views
Copy files to new Folder but keep original creation date
I'm trying to copy files from one location to another using Python. Currently I have the following code. It works but changes the 'creation date' to the date the files were copied
over to the ...
0
votes
1answer
28 views
Can't update label with a string upon clicking button
Trying to get into Python, and I'm pretty sure the answer is right in front of me. But I am not really sure how to implement other's ideas.
I have a list of books, each is a List with two ...
1
vote
0answers
27 views
Tkinter Python Image error
I"m confused as to why I'm getting this error. I have looked into the file specified in the error as well as done some research on PIL and the actual error. Any help would be appreciated. This code is ...
0
votes
1answer
16 views
How to free memory used by tkinter widgets
I have a single-window tkinter application that reads data stored in a separate python class to update the values in the interface, and vice versa. I have somewhat merged the View and Controller of ...
1
vote
1answer
17 views
Tkinter in Python - Remove widget from active window
I'm trying to remove a Tkinter progress bar widget from an active window (after the GUI window using Tkinter has been initialized). I'm using a Tkinter Frame for my window. I've initialized the ...