Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
2 answers
62 views

Python 3.12 ModuleNotFoundError: No module named '_tkinter'

I'm a fairly new Linux user running Ubuntu (Mint), and I've been trying to learn to build a GUI app using tkinter. My understanding is this comes built-in with Python, and theoretically shouldn't need ...
Astro's user avatar
  • 1
-4 votes
0 answers
22 views

Me ask is How to draw a windows for customtkinter in python Treeview [closed]

import customtkinter as ctk import pandas as pd from tkinter import filedialog, messagebox import threading # Função para carregar e exibir o arquivo Excel def load_excel(): file_path = ...
Zogbi Silva's user avatar
0 votes
1 answer
53 views

Make tkinter bind use keycode rather than keysym for language agnostic bindings

I'm working on Tkinter Python programs where I need to switch between Greek and other languages for input. My problem is that I then have to rewrite every key binding using and check for keycode to ...
PrebenR's user avatar
  • 26
0 votes
0 answers
37 views

StringVar doesn't update the text on a button in Python's TKinter

StringVar doesn't update the text on a button in Python's TKinter. As a matter of fct, no text is being shown. Why? I'm using Spyder 5.5.5. Here's the code: # -*- coding: utf-8 -*- import tkinter as ...
Radar32's user avatar
  • 27
0 votes
0 answers
14 views

Tkinter DoubleVar set empty value

How can I set an empty value in a Tkinter DoubleVar()? I tried to do: my_var.set("") but when I try to check the value of my_var with my_var.get(), I receive the following error: _tkinter....
AlMa's user avatar
  • 231
0 votes
1 answer
47 views

Isuues with pyinstaller (Module Not found)

I have created a Python (.PY) file thatuses the Tkinter package inside it and executes perfectly in Spyder. Now I am trying to convert it to .EXE file using pyinstaller package, once I convert tried ...
san1's user avatar
  • 517
1 vote
1 answer
48 views

Win32 API makes only my last click-through label appears (overlay created in tkinter)

I am writing a tkinter overlay which is my main class. This class can display images at specific coordinate using tkinter label, however the images should be click-through. Therefore, I extended the ...
Kuru's user avatar
  • 21
0 votes
1 answer
59 views

image and buttons not being displayed in popup window

i used a previous version on this project since the latest on got corrupted due to unknown reasons. it was working perfectly fine before but suddenly an encoding error appeared and i decided to ...
MrGrapes2565's user avatar
1 vote
1 answer
35 views

Python: Using Figure.set_size_inches on a Figure contained in a tkinter GUI does not update the display

I am trying to embed a pyplot Figure object in a tkinter GUI and then later on change its size by calling the set_size_inches() method. A miniumum (not) working example is provided below. ...
Alex Schmitz's user avatar
1 vote
2 answers
62 views

How do properly position my widgets relative to each other and the center of the window with tkinter?

So I am having trouble creating a GUI that can dynamically adjust to the size of my window. What's going on is that one, I want my widgets to scale automatically with the width of my window. I also ...
Richmond Nguyen's user avatar
0 votes
0 answers
49 views

Image Not being displayed in popup window

Here is the code: import tkinter as tk from tkinter import * from tkinter import messagebox import tkinter.font as font from tkinter import ttk from PIL import Image, ImageTk def CustomerScreen(): ...
MrGrapes2565's user avatar
1 vote
0 answers
45 views

Having the same _tkinter.TckError with no solution [closed]

class AutoCompleteEntry(CTkEntry): def __init__(self, master, suggestions, placeholder=None, **kwargs): self.var = tk.StringVar() super().__init__(master, textvariable=self.var, **...
Swagato Naskar's user avatar
0 votes
1 answer
37 views

How set the widget size to fit all the width and height of the main window?

I'm trying to make a small app in Tkinter, and I want to insert a notebook after a connection inside my main window. But I don't find how I can make to set the notebook's size to the fit full width ...
JUL Ben's user avatar
-2 votes
1 answer
54 views

RecursionError when calling math.dist() [closed]

When calling math.dist() to find the distance between two points, I get a RecursionError. This is the error: Traceback (most recent call last): File "/Users/myName/Desktop/2D Renderer.py", ...
NextLevel's user avatar
0 votes
1 answer
62 views

Python Tkinter: Unable to make a calculator project

I am making a calculator project using Python Tkinter with an OOP concept, and I cannot figure out the problem with the function class. The function class is responsible for division, multiplication, ...
Akash Sadhukhan's user avatar

15 30 50 per page
1
2 3 4 5
736