Re: Python-list Digest, Vol 81, Issue 63

2010-06-09 Thread Chris Rebert
On Tue, Jun 8, 2010 at 11:57 PM, madhuri vio wrote: > import tkinter > > root = tkinter.Tk() #initialize tkinter and get a top level instance > root.title("madhuri is a python") > canvas = tkinter.Canvas(root) #creating the canvas under the root > canvas.pack() #to call the packer geometry > canva

Re: Python-list Digest, Vol 81, Issue 63

2010-06-09 Thread madhuri vio
: > import tkinter > > root = tkinter.Tk() #initialize tkinter and get a top level instance > root.title("madhuri is a python") > canvas = tkinter.Canvas(root) #creating the canvas under the root > canvas.pack() #to call the packer geometry > canvas.create_rectangle(20,10,120,80,fill=colors[0]) >

Re: Python-list Digest, Vol 81, Issue 63

2010-06-09 Thread madhuri vio
import tkinter root = tkinter.Tk() #initialize tkinter and get a top level instance root.title("madhuri is a python") canvas = tkinter.Canvas(root) #creating the canvas under the root canvas.pack() #to call the packer geometry canvas.create_rectangle(20,10,120,80,fill=colors[0]) root.close() tk.de