Questions tagged as 'tkinter'

1
answer

Terminal in a Python / Tkinter program. The text disappears below

I am doing my first program in tkinter and I want to incorporate the linux terminal, as for example it has the Atom editor. I have managed to incorporate it, but when executing an order the text disappears inside the frame and you can only see t...
asked by 29.04.2018 / 11:28
1
answer

Synchronization interface

Hello, how can I make a login connection to my interface, In other words, my interface is connected, for example, to gmail     
asked by 24.04.2018 / 00:21
0
answers

How do I work with dates in python?

Hi, my question is how can I offer control to the user to enter a date in PYTHON that is not a simple Entry with gray text ... in plan "Ejemplo: 27/10/2014" or "dd/mm/yyyy" . Like there is something similar to a calendar or o...
asked by 21.04.2018 / 11:48
1
answer

problem return option buttons tkinter

I CAN NOT RETURN THE VALUES OF THE 2 BUTTONS WITH A SINGLE FUNCTION from Tkinter import * def start(): recuperacion= Recovery() class Recovery(): def __init__(self): global v recovery= Tk() v = IntVar...
asked by 05.04.2018 / 15:44
1
answer

matplotlib and tkinter to plot in real time

I am trying to graph a series of data from a text file, but my idea is that this graph only appears when I press a button on a GUI made in tkinter. However, at the moment of pressing the button the graph appears but without the data, that is, it...
asked by 27.03.2018 / 20:24
0
answers

get label variables tkinter python

I have the following code, and I want to get the string with the value of the file to use in the function: def openBioActFile(): finestra.openfile = tk.filedialog.askopenfilename(initialdir = cwd,title = "Select file",filetypes = (("text file...
asked by 05.02.2018 / 10:17
1
answer

Move window without borders

Good afternoon community. I would like someone to help me with the following code: import tkinter as tk root = tk.Tk() root.overrideredirect(True) w, h = 800, 500 canvas = tk.Canvas(root, width=w, height=h, highlightthickness=0) canvas.pac...
asked by 30.01.2018 / 18:44
1
answer

How to position the text of a label on the left in tkinter

Hi, I'm learning about the python tkinter library and I decided to make a calculator. My program used an entry as a text field but that allowed the user to write in it, what I want is that only the buttons work and you can not write, so use a la...
asked by 23.01.2018 / 03:03
1
answer

Problems saving an image with PIL

I can not save my image when I click on the guardar menu. I searched and what I found was the function: Image.save . This is my code: from tkinter import * from tkinter import Tk from tkinter import PhotoImage from tkinter imp...
asked by 17.01.2018 / 19:21
0
answers

Top level window is stunned in Python TKinter 2.7

I need support. In the application that I am developing I put a button to open a top level window with the fields that my table has MySQL and so modify any record already created, in turn I want that top level appears a drop-down menu to selec...
asked by 16.01.2018 / 16:09