Forum: Python Dec 19th, 2008 |
| Replies: 2 Views: 409 |
Forum: Python Dec 19th, 2008 |
| Replies: 2 Views: 409 I have a simple Tkinter program that has a button and an entry. Now, how do I run code from the entry?
For example:
Entry -> print 'Hello!'
Button -> Run the entry command |
Forum: Python Dec 3rd, 2008 |
| Replies: 2 Views: 326 well, everything is OK but... the starting point of the line is ALWAYS at the same place:
from Tkinter import *
master = Tk()
cx = 0
cy = 0
def draw_circle2(event):
x1 = event.x |
Forum: Python Dec 3rd, 2008 |
| Replies: 2 Views: 326 Hi all. I have a very simple app, but I don't know how to get position of the circles. Here's the code:
from Tkinter import *
master = Tk()
global w
def dotToDot1(event):
global w |
Forum: Python Nov 21st, 2008 |
| Replies: 1 Views: 366 Hy all. I'm beginner in Python ( started to learn it before a week and a half), but since I already know MSWLogo, python is easy. So, I created a fighting-text game called: PythonFight. Features:... |