Questions tagged as 'tkinter'

2
answers

Use variables when formulating query to filter data from a table

I am working with Python and MySQL in a Tkinter application. I'm trying to do a search filter to only show me the entries in my table that correspond to what I entered with the keyboard but I do not know how to set it in the SQL statement. Th...
asked by 26.12.2017 / 19:46
1
answer

Tkinter Label and slow grid

This piece of code shows a punk box , but when it comes to 5 or more features it slows down a lot, the problem I think is in Label or in grid because without graphical interface and only with print goes very fast, then I wo...
asked by 01.07.2017 / 19:13
1
answer

Semantic Error in Python

It happens that to make my program safer, I ask for a password at the beginning of the program, and this password is also customizable (using the ConfigParser library), to make it even more secure, the config.ini file is encrypted using the Pyde...
asked by 05.12.2016 / 22:01
1
answer

Why do you show me errors when importing tkinter into VSC?

It's very strange because my code is running well but this kind of error keeps coming up:     
asked by 18.12.2018 / 11:35
1
answer

AttributeError: 'NoneType' object has no attribute 'destroy'

Good friends, I have the following problem:    AttributeError: 'NoneType' object has no attribute 'destroy' To avoid placing all the code, I will recreate the error in a shorter way: import tkinter as tk ventana = tk.Frame().pack() str_...
asked by 02.09.2016 / 03:34
1
answer

How to configure Frame widget in Tkinter?

I've been learning to create Gui in Python with Tkinter for almost a week. When creating free space around or creating a box and determining the measures of the widget by using the Frame container, you can not modify the attributes such a...
asked by 15.04.2017 / 05:19
1
answer

I missed the following error expected an idented block

I'm something new in this programming, I've seen several codes, but I do not get the point I want to get, I want to put on my hobbies, a music player and a background photo. But this jumps me the error of the title. class App: def __init__(se...
asked by 04.11.2018 / 05:53
1
answer

Syntax error when assigning text to a Text widget

I try to make a window with scroll and it gives me a syntax error in the code: texto = tk.Label(elframe,wraplength=500,text="El ejemplo de texto ^ SyntaxError: EOL while scannin...
asked by 09.10.2018 / 20:46
1
answer

Error in parameterized query: TypeError: list indices must be integers, not str

I am developing a GUI that manages my database in Python 2.7 that connects to a MySQL database. You can already insert, consult and delete but what you can not do yet is update with the UPDATE statement. I get the following error: Exception in...
asked by 11.10.2018 / 23:59
1
answer

Incompatibilities in search engine on a Tkinter Text and show counter

Starting with code of a response (set by me) to a of my questions, I have come to improve the panel code finder introducing certain improvements and functions (that as you type the new term and search, replace action, keyboard shortcuts,...
asked by 16.06.2018 / 21:11