Re: [Pythonmac-SIG] [Python-Dev] Fwd: Broken link to download (Mac OS X)

2010-04-14 Thread skip
(Moving this response from python-dev to pythonmac-sig...) Michael> A build on my machine produces output similar to: Michael> Python build finished, but the necessary bits to build these modules Michael> were not found: Michael> _bsddb dl gdbm M

Re: [Pythonmac-SIG] Help getting properties in py-appscript?

2010-04-14 Thread Charles Turner
On Apr 14, 2010, at 12:47 PM, has wrote: +1. It sounds like the OP's function is assigning values to 'k' at some point, e.g. 'for k, v in d.items():...', which is a general Python error, as you say. In which case, either pick a different variable name or use 'import appscript' and 'appscr

Re: [Pythonmac-SIG] Help getting properties in py-appscript?

2010-04-14 Thread has
Aahz wrote: > On Tue, Apr 13, 2010, Charles Turner wrote: >> >> This works just fine at the top level of the script, but when I get() >> and reference props inside a function definition, Python complains about >> the dot in k-dot-name, for example: >> >> "UnboundLocalError: "local variable 'k