All Questions
Tagged with python-2.7 tkinter
2,157
questions
0
votes
0
answers
52
views
why do arabic and farsi(or any arabic based character) get scrambled in python IDE and Tkinter based apps?
I could not find things on this anywhere
my exact question is why are the written characters SCRAMBLED when the so called 'text cursor' goes in a Arabic character string
like this:
if you cant see ...
0
votes
0
answers
62
views
Get a Random Boolean by Percentage using tkinter
Please could you explain how to use tkinter to make an Entry widget that passes a percentage value to the function below e.g. the user enters 60 into the input field which then passes the user’s value ...
0
votes
2
answers
70
views
Show Error message when Entry field is empty?
I am working with Tkinter for GUI creation.
I created an Entry field to get some data. Here is the code for that,
self.entry_var = StringVar()
self.id_label = tk.Label(self.window,
...
0
votes
0
answers
38
views
How to update the data of Button after some time in Tkinter?
I am Creating GUI to show the Temperature and Humidity from the server using Tkinter. This GUI is developed to show temperature and humidity of multiple devices.
This is the button that I created to ...
0
votes
2
answers
44
views
Adding a character to a Label after a forever-repeating cycle in a function tkinter
In tkinter, I have been trying to add a way to add checkmarks to a label every time a looping countdown finishes. I've been thinking about using Label.config(text="...") but I couldn't ...
0
votes
2
answers
54
views
Tkinter traceback variable not defined
I have a function named to1 which take input from entry widget searches for it in a file displays the buttons with text of all similar lines. now get_button_text1 function take the button id and ...
-1
votes
1
answer
41
views
How do I write Python code that enters a file and outputs its 'type-size' properties?
How do I write Python code that enters a file'pdf,word, png...' and outputs its 'type-size' properties ?
How do I write Python code that enters a file and outputs its 'type-size' properties
0
votes
1
answer
71
views
How can I chage the position of the origin of coordinates to the top left corner?
My program is a timer. It contains alabel,an entry and abutton. When the user has entered time and clicks on the button, I want the window to move to the top right corner. For this, I use this command:...
0
votes
1
answer
105
views
Python Full Screen Clock centered and with a label date and day of the week
Hello I'm doing a little program to do a full screen clock for my 3th monitor, I'm facing 2 troubles on my code because I'm not an expert on python.
1st I want to center my label, I'm facing some ...
0
votes
0
answers
1k
views
Python | Tkinter | TkCalendar : how to customize 'DateEntry Date Picker' object? like increasing Width, and more?
I'm developing a simple Python stand-alone application, that uses a GUI datePicker, and I went for using 'from tkcalendar import DateEntry'. | using python 2.7 (for older windows PC)
while using '...
0
votes
0
answers
22
views
Change the text without re-execution in Tkinter
How can I change a text in Tkinter without closing and running again?
Please help me
How can I change a text in Tkinter without closing and running again?
Please help me
0
votes
0
answers
573
views
Not able to view pdf in tkPDFViewer
To display pdf in tkinterviewer
I have tried to display pdf in tkinterViewer but it is throwing below exception
Exception in thread Thread-1:
Traceback (most recent call last):
File "/home/...
0
votes
0
answers
16
views
Tkinter: get label from init from another method (Python 2.7) [AttributeError] [duplicate]
I'm trying to get the elements located in the init of my class from another method in order to update a label. Here is an example code:
class mainApp:
def __init__(self, master):
my_frame =...
0
votes
0
answers
77
views
Abaqus and Tkinter windows freeze with start of mainloop
I'm working on numercial simulations in Abaqus 2020 and coded a GUI with Tkinter.
My problem is, that while running the Tkinter code everything works well unitl the start of the mainloop. Then both ...
4
votes
1
answer
189
views
How do I fetch lines in a log file
The program I wrote prints the data in the log file to the GUI. It performs filtering operations by selecting some features. I'm fetching data line by line
I can fetch the line with the words ...