Re: [Pythonmac-SIG] Keywords <=> Variables in appscript

2010-05-06 Thread has
Adam Morris wrote: > How can one refer to keywords (the k) given a variable? from appscript import * s = 'some_keyword' print getattr(k, s) # k.some_keyword HTH has -- Control AppleScriptable applications from Python, Ruby and ObjC: http://appscript.sourceforge.net __

[Pythonmac-SIG] Problems with Tk (I think)

2010-05-06 Thread Jan Erik Moström
I'm new to Tk so it might be something that I might be doing wrong but I have a crash that I can't find the cause to. The error message I get on the crash is: python(19468,0x7fff70f5cbe0) malloc: *** error for object 0x1002c5a10: double free *** set a breakpoint in malloc_error_break to debug A