Search Results

Showing results 1 to 5 of 5
Search took 0.01 seconds.
Search: Posts Made By: MaracKoMarac
Forum: Python Dec 19th, 2008
Replies: 2
Views: 409
Posted By MaracKoMarac
Forum: Python Dec 19th, 2008
Replies: 2
Views: 409
Posted By MaracKoMarac
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
Posted By MaracKoMarac
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
Posted By MaracKoMarac
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
Posted By MaracKoMarac
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:...
Showing results 1 to 5 of 5

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC