[Pythonmac-SIG] needed: simple gui toolkit with "japanese input" support

2006-04-10 Thread Gábor Farkas
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

Re: [Pythonmac-SIG] Fink vs. MacPython

2006-02-13 Thread Gábor Farkas
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

[Pythonmac-SIG] iphoto, slow

2005-12-01 Thread Gábor Farkas
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(

Re: [Pythonmac-SIG] appscript + iPhoto problem

2005-07-13 Thread Gábor Farkas
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: >

[Pythonmac-SIG] appscript + iPhoto problem

2005-07-12 Thread Gábor Farkas
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