Gábor Farkas wrote:
>i am trying to print out all my photo's names, together with their keywords.
>[...]
>this code works, but it's TERRIBLY slow :)
>
>the problem is the parsePhoto function...
>those keyword.name(), photo.name(), photo.keywords() calls take nearly a
>second to complete...
That s
hi,
i am trying to print out all my photo's names, together with their keywords.
import appscript
app = appscript.app('iphoto')
def parsePhoto(photo):
tags = [keyword.name() for keyword in photo.keywords()]
return (photo.name(),tags)
for photo in app.photos():
print parsePhoto(
:**What's new?**:
SPE 'Kay release' 0.8.0.b
This release is a major step forward for all platforms, especially for MacOS X.
It offers you basic project management through workspaces (thanks to
Thurston Stone), an improved sidebar and pydoc viewer.
This is the first release which is also develop
[EMAIL PROTECTED](e)k dio:
> On Nov 29, 2005, at 1:03 PM, David M. Cooke wrote:
>
>
>
>>I've submitted a patch for Smultron that does this when "indent with
>>spaces" is turned on:
>>http://sourceforge.net/tracker/index.php?
>>func=detail&aid=1356887&group_id=110857&atid=657594
>>
>
>
> Smult
Hi Mark,
my preferred Python IDE is SPE:
http://www.stani.be/python/spe/
This is currently getting polished up for the mac, but is already fairly
usable.
It Includes a Module Browser, A shell, tools like the PythonDebugger, or
Kiki for Regex testing.
Have a look, i just can warmly recommend
Odd, I always use 2 spaces, and haven't really heard 4 was standard.
I don't keep up much with those things, though :)
Tabs are certainly allowed. There is a potential difficulty in mixing
tabs and spaces in the same file, since it is unclear how many spaces
go into a tab, so there is potent