Hi !!!
Friends, i nedd process Data Entry in python
Example
 
Entry = 20
Result = 20*10
 
This Result in Windows (Tkinter)
How do you do Think !!!!!!!
 
Regards
Cesar
Exmaple
from Tkinter import *
class MyDialog:
    def __init__(self, parent):
        top = self.top = Toplevel(parent)
        Label(top, text="Valor").pack()
        self.e = Entry(top)
        self.e.pack(padx=5)
        b = Button(top, text="OK", command=self.ok)
        b.pack(pady=5)
    def ok(self):
        print "value is", self.e.get()
        self.top.destroy()
root = Tk()
root.update()
d = MyDialog(root)
root.wait_window(d.top)


New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to