Questions tagged as 'tkinter'

1
answer

Problem with scrollbar in a Canvas, appears outside it

I'm trying to create a Canvas with a ScrollBar in order to load an image and manipulate it. I have the following code: from tkinter import * from tkinter import Tk from tkinter import PhotoImage from tkinter import Canvas fro...
asked by 08.02.2018 / 19:38
0
answers

Progress bar on Tkinter

I need to create a progress bar, because I have a small window in TKinter where I upload an excel file in a panda dataframe containing about 350,000 records and it takes a long time to load it, so I want to enter a progress bar in that time , bu...
asked by 09.12.2017 / 03:29
1
answer

How to load MySQL info in Tkinter Entries by double-clicking the Listbox element consisting of two columns

In this GUI there are some Entries that what they do is allow to enter information to be stored in a MySQL database. The Listbox basically displays one of the fields in the database (the name), which in fact is one of the Entry. In additio...
asked by 25.05.2017 / 00:05
0
answers

Problem with Multiprocessing and Process in GUI with Tkinter

I'm designing a GUI with Tkinter in python 2.7 for a project that is working ( link ). The project makes a photomosaic from a bank of images, it is done through the Pillow library. The script when working with image processing uses the multip...
asked by 10.05.2017 / 15:53
2
answers

Error importing TkInter in Python 3.5 [closed]

I receive an error when importing TkInter in Python 3.5. This is the error message that shows:    File "/usr/local/lib/python3.5/tkinter/init.py", line 35, in       import _tkinter # If this fails your Python may not be configured for Tk   ...
asked by 26.07.2016 / 05:53
1
answer

how can I see the Tkinter library code in python

   I would like to know how the interfaces are programmed (in raw) in python, in this case how is Tkinter built     
asked by 11.08.2018 / 05:52
1
answer

Bar detector in python with anaconda

I'm creating a bar detector in Python with Anaconda, but I get this error: Error Imagen No imagen I can not show my frame. Can someone help me? Here the code: import Tkinter import cv from Tkinter import * from PIL import Image, ImageT...
asked by 16.06.2017 / 05:38
1
answer

Python: Using label in Tkinter

for a program I want to place two label "Question" and "Answer" next to two text boxes. As shown in the following image: The problem is that with the following code: from tkinter import * #Creando una ventanta principal window=Tk() wind...
asked by 12.04.2017 / 01:04
1
answer

Create file in another directory that is not the current one (Python)

I want to create the file inside the folder of line 1 that is created at the same level where the file.txt is created os.mkdir(svnombreRP.get()) archi = open('%s.txt' % svnombreRP.get(), 'wb') archi.close() I tried to put it like this: os...
asked by 23.10.2016 / 00:40
1
answer

Problems with treeview Tkinter Python

I have problems so that I print the table data correctly and sorted, it prints only one tuple and it does not show the first record. what could be my mistake. Thanks for the help. import psycopg2 from psycopg2.extras import RealDictCursor from...
asked by 15.11.2018 / 16:10