[issue21576] Overwritten (custom) uuid inside dictionary

2014-05-25 Thread beta
New submission from beta: Results: Block: 2d = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} same as {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} Block: 2e = {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} same as {'Blocks': 3, 'Name': 'Fregatten', 'uuid': 0} Block: 2f = {'Blocks': 3, 'Name

[issue21576] Overwritten (custom) uuid inside dictionary

2014-05-25 Thread beta
beta added the comment: import copy ship = {'Name': 'Slagschip', 'Blocks': 5} shipData = copy.deepcopy(ship) # needed, otherwise linked-object shipData['uuid'] = Id # unique Id Is this the correct Python behavior? -- resolution: - not a bug

Re: binding - python

2006-04-07 Thread beta
Hi John, It works. Thank you veyr much. Cheers, Q -- http://mail.python.org/mailman/listinfo/python-list

Re: binding - python

2006-04-06 Thread beta
Hi John, It works! thank you vey much. I have another question. I would very appreciated if you have any clue. I want the ball STOP whenever mouse is clicked anywhere, then ball KEEP MOVING when next mouse click is applied. Thanks. Regards, Quoc --

Re: Mouse event - binding

2006-04-05 Thread beta
Dear John, Thanks for your help. I don't know how to bind the ball only into a program. Would you mind help me on this? I added the changeColour function, here is a complete program. --- from Tkinter import * import string class Pong(Frame): def createWidgets(self):

Re: Mouse event - binding

2006-04-05 Thread beta
Hi John, It don't work! I did what you told me, here is theBall function def theBall(self): self.ball = self.draw.create_oval(0i, 0i, 0.20i, 0.20i, fill=red) self.draw.tag_bind(self.ball, 'Button-1', changeColour) Would you review all

binding - python

2006-04-05 Thread beta
Dear All, I am new with Python. I have question on binding. I have small pingpong application, I want to change color og the ball whenever mouse is clicked. I have theBall and changeColor functions. I don't know how to bind it together. Does anyone know? I am very appreciate of your help. Thanks.

Mouse event - binding

2006-04-04 Thread beta
Hello All, I am new with Python, your help would be very appreciated. I have a simple pinpong applicaiton. I would like make a ball's color change when mouse is clicked on it. Here is my sample code: from Tkinter import * import string class Pong(Frame): def createWidgets(self):

hello

2005-04-04 Thread bug-gs-beta
The message contains Unicode characters and has been sent as a binary attachment. -- http://mail.python.org/mailman/listinfo/python-list