[Tutor] Managing XML in Python

2007-02-23 Thread Ketan Maheshwari
Hi: I have to manage XML files through python. The activities include, create, update and retrieve information from the XML files. I would be thankful for pointers to tutorials, APIs and suggestions. Regards Ketan ___ Tutor maillist - Tutor@p

[Tutor] python certification

2007-01-20 Thread Ketan Maheshwari
Hi All: I am looking forward to obtain some kind of certification for Python. Is there anything like that exist? Could someone give me pointers for details. Regards: Ketan ___ Tutor maillist - Tutor@python.org http://mail.python.or

[Tutor] messagebox positioning

2007-01-19 Thread Ketan Maheshwari
Hi! All: tkMessageBox.showinfo("done", "You are done!!!") I need to show a message similar to this when some activity is done. However, I want to position this message box in a different part of the screen so that it does not occlude the background. How could I do it? Cheers ketan

Re: [Tutor] how do i access object

2007-01-04 Thread Ketan Maheshwari
Hi As suggested by Alan, I wrote a method getcenter as follows *** def getcenter(self): xy=self.canvas.coords(self.id) xcenter=(xy[2]-xy[0])/2 ycenter=(xy[3]-xy[1])/2 return xcenter, ycenter *** However, when I call this method from the instance of Circle class I get

[Tutor] how do i access object

2007-01-03 Thread Ketan Maheshwari
Hi All I have this code from the web that I modified according to y requirements. It has a class called Circle. Then there are a few objects of this class created using a constructor. The constructor essentially creates the circles and the update mathod makes them move randomly. However, at eac

Re: [Tutor] simple animation

2007-01-02 Thread Ketan Maheshwari
That helps. Thanks. Kent Johnson wrote: > Ketan Maheshwari wrote: >> Hi All >> >> I want to create a simple animation on a 2D cartesian plane, wherein >> there are 2 identical circles drawn at an arbitrary distance with >> each other. > > Here is a simple

[Tutor] simple animation

2007-01-02 Thread Ketan Maheshwari
Hi All I want to create a simple animation on a 2D cartesian plane, wherein there are 2 identical circles drawn at an arbitrary distance with each other. Now the idea is to move the circles randomly with a fixed step size and check the distance between their centers. this uses the formula d=sqr

[Tutor] how to save wxpython output

2006-11-30 Thread Ketan Maheshwari
Hi *: How do I save the output of a wxpython program as a jpg or png image from within the program? Thanks, k. ___ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor