hi,
i'd like to write a simple python-mac application,
for which i need to choose a gui toolkit.
the problem is that i need to be able to enter japanese text,
which means i need support for i don't know how that's called in osx
(on linux that would be input methods).
for example with tkinte
Markus wrote:
> Hi!
>
> Somewhere deep in the latest discussion I read a remark by Bob that
> he would not recommend the use of Finks python (there also was
> another that he didn't like Debian so that may explain it :)
>
> I came from Debian to OS X and nearly the first thing I did was to
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(
has wrote:
> Gábor Farkas wrote:
>
>
> In general, new elements are created using the 'make' command, so try
> something like:
>
> iphoto = appscript.app('iPhoto')
> iphoto.photos[1].keywords.end.make(new=k.keyword, with_properties={k.name:
>
hi,
what i want to achieve is the following.
i want to find a photo in iphoto (i can do that),
and then assign some keywords to it.
i can find the photo with:
iphoto = appscript.app('iPhoto')
photos = iphoto.photos()
and then i find my photo in 'photos'.
and i can also list it's keywords.
but