Member Avatar
This simple key logger shows any character/special key when pressed.
by vegaseat 1,720 in Software Development ()
Member Avatar
Fair warning - I'm still learning so this might be a very newb like question: What I'm trying to do: I'm trying to import a python file into a Tkinter window and run it when I press a button. Eventually I'd like to display the output of the imported script …
by steven.rose.94 in Software Development ()
Member Avatar
Shows how to create a basic slide show with the Python Tkinter GUI toolkit.
by vegaseat 1,720 in Software Development ()
Member Avatar
I have no idea how to create a Gui from another Gui using python. What I have so far is simply a basic Gui which you select one of the options from a dropdown menu and create another Gui. Here's what I have so far... ... I'm not sure how …
by Brandon Hatch 1 in Software Development ()
Member Avatar
A simple way to create a toggle button for the Tkinter Python GUI toolkit.
by HiHe 174 in Software Development ()
Member Avatar
I found that one can use dictionaries to hold Tkinter widget config and display parameters. This then permits one to have these dictionaries elsewhere in the code for easy modification instead of buried within the code for each widget. I particularly like to place these dictionaries toward the top of …
by BustACode 15 in Software Development ()
Member Avatar
This is the updated version of the Tiny Tkinter Calculator. It has more power, since you can type in functions contained in the Python math module then press the equals key. You can then move the result into memory for other calculations. The code is written in OOP class style …
by vegaseat 1,720 in Software Development ()
Member Avatar
I would like the widgets on the window to expand as you expand the window. I know you can do it with the pack method but I'm using the grid method to arange my widgets. Pack Method: ... Grid Method I'm using: ...
by DragonMastur 23 in Software Development ()
Member Avatar
I needed a calculator and I didn't want to use google since my internet is slow. So I made one! Here it is. Working with it is simple. Use the number and operation keys("c" for clear, "p" for pi, and "s" for sqrt) as well as the return and enter …
by DragonMastur 23 in Software Development ()
Member Avatar
I am implementing the last feature of my Python Checkers Game, which is to require the user to make multiple jumps. For captures, I do the following: ... But it ends up being stuck in an infinite loop! ... Here is the full code: ...
by Henry_5 in Software Development ()
Member Avatar
If you have a long message to display in a large readable font, then this little Tkinter GUI toolkit code might help.
by vegaseat 1,720 in Software Development ()
Member Avatar
This 'sticky' thread is for working examples of Python GUI code. Note that wxPython examples have their own sticky. Please use comments in your code to help the reader. The example code should be usable as a template, so folks get a feel for the toolkit and can use those …
by vegaseat 1,720 in Software Development ()
Member Avatar
I have a tkinter app that has 2 frames. The frame on the left has a bunch of buttons and the frame on the right has a text widget. I use the create_buttons function below to make the buttons. Is there a way to have the button stay sunken when …
by ccandillo in Software Development ()
Member Avatar
Sometimes it's easier to pick an image from the internet to display in your Python Tkinter GUI toolit program.
by vegaseat 1,720 in Software Development ()
Member Avatar
Member Avatar
Hello, I have this code which is working import Tkinter as tk from Tkinter import * LARGE_FONT= ("Verdana", 12) class ChangePages(tk.Tk): ... MainPage class MainPage(tk.Frame): ... Page01 class Page01(tk.Frame): ... Page02 class Page02(tk.Frame): ... Root loop app = ChangePages() app.mainloop() What i want to do and this is reason for …
by davidbr in Software Development ()
Member Avatar
The Tkinter GUI toolkit comes with a scrolled text widget that is called ScrolledText. To get access to it you have to import it separately. It allows you to display large amounts of text in a small space.
by vegaseat 1,720 in Software Development ()
Member Avatar
I have a Tkinter GUI that is composed of two widgets, the first is a widget class with an entry field and a button and the second is a scrollable text widget class. I have combined these two widget classes to make a single GUI. Each of these widget classes …
by biocompute in Software Development ()
Member Avatar
Hello. I have a Class in my python file. That Class contains some functions. How can i set the command of a Tkinter butten so that call a function of that class? I tried this but it didn't work: ...
by Niloofar24 15 in Software Development ()
Member Avatar
How can i create a drop-down menu in Tkinter?
by Niloofar24 15 in Software Development ()
Member Avatar
Hi everybody. I have problem with .pack() and .grid(). I have to use this line: ... I have used .grid every where on my file but now here i have copied a pice of code from some where and have pasted to my file, as you see it has used …
by Niloofar24 15 in Software Development ()
Member Avatar
Hello. When we want to insert a vlue into a table in sqlite, we use this line, right? ... As we can see above, we want to insert 2 words and we type them as when we are typing whole the codes. But i want to get 2 words from …
by Niloofar24 15 in Software Development ()
Member Avatar
Hi, is that possible Tkinter to play a video? And if not possible so what GUI programming that you can recomended? I already search in google, find a few but there's dead link.. I need to show 2 windows, first the original video, and the second is video after processing
by ShilohAmi in Software Development ()
Member Avatar
Hello. I have used ScrolledText in my code, the scroll bar that appears is attached to the frame and although it scrolls the text box contents, I want that it was attached to the text widget itself. What can i do?
by Niloofar24 15 in Software Development ()
Member Avatar
Hello friends :) I'm almost familiar with Tkinter and Kivy frameworks, but i'm looking for other python GUI frameworks, soething better than Tkinter. Kivy is also great but i need to watch more tutorial videos and i'm not able to do that right now. Can you introduce a better and …
by Niloofar24 15 in Software Development ()
Member Avatar
Hello. How can i set an image as a Tkinter window background? I mean the whole background of the window not a photo area.
by Niloofar24 15 in Software Development ()
Member Avatar
Hi everybody. How can i install ttk module on linux? When i try to import and use it on my Tkinter window, the error says sth like there is no module named ttk. So it means i should install it right?! I'm using python 2. I want to use ttk …
by Niloofar24 15 in Software Development ()
Member Avatar
Hi friends! I'm coding a program; i have a Tkinter window with a view button and i can add names with entry box and add button into a list that will be saved on a db file. Now i want the program to show the list names otomaticly when the …
by Niloofar24 15 in Software Development ()
Member Avatar
Hello! My this time question is about breaking a list. I have a list with the name favorite_movies. Here is 2 functions of all functions from the file: ... When i append a name with the Add button and then press the View button, i see list's names on the …
by Niloofar24 15 in Software Development ()
Member Avatar
Hello friends :) This is my code: ... Why it doesn't work?
by Niloofar24 15 in Software Development ()