so i found this code: import Image,ImageDraw import cStringIO from random import randint as rint def randgradient():
so when i run this code and click the button: from Tkinter import * import thread class App: def __init__(self, master):
I\'m trying to obtain an figure object (using matplotlib), inside a wxpython application. I don\'t need to plot (or see) the figure, because I would want only to save it in a png file.
First of all, this is my current code, essential parts of it: class WindowDraggable(): x = 1 y = 1 def __init__(self,label):
The following Python 3 code has a label and an Entry field that are correctly initialized with a string (\"junk\" in the example).But when the second \"import\" line is uncommented to replace the old
I\'ve searched this for ages and tried everything. Just can\'t make it work. What I want to do is to make a stand-alone exe of my small program that uses Tkinter, for Windows. This far I\'ve accompli
I\'m having a really hard time trying to achieve a decdent GUI layout in tkinter. I\'m aiming for the layout on the left, but didn\'t get any further than the layout on the right:
I am using Tkinter in a programming assignment and have the following problem. I want the user to enter the value in a textbox, and I want to add additional fields on the GUI based on the number enter
I\'ve noticed that when you bind keys in tkinter (python3.2 winxp), the binds are case sensitive with the letter characters. In other words binding <Control-o> does not work if you press Control
By default Tkinter still uses the old Windows 2000-style widgets (random example): but I want it to use the Windows XP/Vista/7-style widgets instead: