0
votes
1answer
20 views

Python timer in math game Tkinter

I'm looking to add a timer for my simple math game. So far everything works just fine, the user gets questions when pressing the button and is given feedback on the answer. I want to add a timer for ...
0
votes
0answers
25 views

Tcl error : invalid command name tcl_findLibrary

This error appears when I type the following commands (using iPython)Tkinter.Tk(), %pylab, plot ..... or run pylab in general but import pylab doesn't fire any error. Tcl error : invalid command name ...
1
vote
3answers
38 views

'var' is an invalid keyword argument for this function? (Tkinter and Python)

I am having trouble updating a label in tkinter. I looked at all the other questions i could find on this error but none were really relevant to my situation. Anyway, here is my code: var = 100 v ...
1
vote
3answers
13 views

Updating Label when variable changes in Tkinter

I am aiming to make a money counter for the game i am programming. For example, if I buy something (in the game) I want my money label to update with the new value once this happens. How would I go ...
1
vote
1answer
15 views

Vertical text in Tkinter Canvas

Is there a way to draw vertical text in Tkinter library? (Python recommended) textID = w1.create_text(5, 5, anchor="nw") w1.itemconfig(textID, text = "This is some text")
1
vote
2answers
39 views

Open txt file through Tkinter GUI python

I'm wondering how to open a file through a Tkinter GUI, example having a button in your interface that opens a .txt file. It doesnt matter if it loads into a textbox or if it opens in the text-editor ...
1
vote
1answer
33 views

Displaying .jpg image when button is clicked in Tkinter?

This seems like a pretty straightforward question, but i am having trouble displaying a jpg image when a button is clicked. Here is my code (without the button code for the sake of time): from ...
1
vote
3answers
25 views

Python - Countdown timer within a tkinter canvas

Hello I would like to create a countdown timer within a subroutine which is then displayed on the canvas. I'm not entirely sure of where to begin I've done some research on to it and was able to make ...
1
vote
2answers
27 views

Python photo animation trouble

im trying to make an image scroll across the screen until it gets to the middle and stops. How can I achieve this? Im using python 2.7 with tkinter and the PIL lib. Thanks for the help!!!
1
vote
1answer
28 views

Tkinter/Matplotlib backend conflict causes infinite mainloop

Consider running the following code (note it is an extremely simplified version to demonstrate the problem): import matplotlib.pyplot as plot from tkinter import * #Tkinter if your on python 2 def ...
1
vote
0answers
22 views

MatPlotLib in Tkinter: pyplot does not format inside the window correctly

I have a code where I am embedding a matplotlib graphic in TkInter. This works fine and the data updates, but when I try to use commands like plt.x_ticks(rotation="vertical") it doesn't do it, and any ...
1
vote
2answers
16 views

How can I change a Python TK listbox item's text?

I have a listbox full of items, and I need to change an item's text. Using item configure I can only find out how to change colors. How can I change the item text on a tk listbox?
1
vote
2answers
20 views

Can you combine two tkinter tk widgets?

I am creating an app which will have two Tk() widgets. Is it possible to combine them side into one larger widget side by side to make the app easier to use? from tkinter import * tk = Tk() canvas = ...
0
votes
2answers
54 views

Considerations for python gui toolkit for app that queries remote database?

I know this question has been asked before but those questions typically lack specific details and result in answers that say something like "It depends what you are trying to do..." so the main gist ...
1
vote
1answer
12 views

Tkinter Large Entry Box

By default the entry box in Tkinter is only one row tall, is it possible to have a larger text box? Example text_write = ttk.Entry(mainframe, width=50, textvariable=(text_to_write)) This will give ...

1 2 3 4 5 182
15 30 50 per page