[Pythonmac-SIG] PySight

2005-07-13 Thread Dethe Elza
Hi folks, I'm looking for advice about packaging a library. Jonathan Wight of Toxic Software has built a simple framework around SequenceGrabber to expose it to Cocoa. I've made a trivial PyObjC wrapper and tested it sucessfully with Python. I'd like to build a disk image that contains

Re: [Pythonmac-SIG] Unicode Filenames on the Mac

2005-07-13 Thread Bob Ippolito
On Jul 13, 2005, at 6:05 PM, Nick Matsakis wrote: > > What is the best way to deal with non-ASCII paths when working with > the > python standard library? Specifically, when using functions like > open() > and the os and glob modules, what should be passed in? What should I > expect out? If

[Pythonmac-SIG] Unicode Filenames on the Mac

2005-07-13 Thread Nick Matsakis
What is the best way to deal with non-ASCII paths when working with the python standard library? Specifically, when using functions like open() and the os and glob modules, what should be passed in? What should I expect out? In experimenting with it, it appears that these libraries accept str ob

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: > 'some name'}) > well, i want to set an already ex

Re: [Pythonmac-SIG] Zope.Interface won't build on 10.4

2005-07-13 Thread Gary Poster
On Jul 13, 2005, at 1:10 PM, Bob Ippolito wrote: > > On Jul 13, 2005, at 4:00 AM, Gary Poster wrote: > > >> >> On Jul 13, 2005, at 9:55 AM, Kevin Dangoor wrote: >> >> >> >>> I encountered this as well. I *think* something needs to change >>> within >>> zope.interface to work with gcc 4.x. Anyho

Re: [Pythonmac-SIG] Zope.Interface won't build on 10.4

2005-07-13 Thread Bob Ippolito
On Jul 13, 2005, at 4:00 AM, Gary Poster wrote: > > On Jul 13, 2005, at 9:55 AM, Kevin Dangoor wrote: > > >> I encountered this as well. I *think* something needs to change >> within >> zope.interface to work with gcc 4.x. Anyhow, all you need to do is: >> >> sudo gcc_select 3.3 >> >> Kevin >>

Re: [Pythonmac-SIG] Zope.Interface won't build on 10.4

2005-07-13 Thread brad . allen
Kevin Dangoor <[EMAIL PROTECTED]> wrote on 07/13/2005 08:55:47 AM: > I encountered this as well. I *think* something needs to change within > zope.interface to work with gcc 4.x. Anyhow, all you need to do is: > > sudo gcc_select 3.3 Thanks! That worked._

Re: [Pythonmac-SIG] Zope.Interface won't build on 10.4

2005-07-13 Thread Gary Poster
On Jul 13, 2005, at 9:55 AM, Kevin Dangoor wrote: > I encountered this as well. I *think* something needs to change within > zope.interface to work with gcc 4.x. Anyhow, all you need to do is: > > sudo gcc_select 3.3 > > Kevin And FWIW I (and others here at Zope Corp) build it just fine on gcc 4

Re: [Pythonmac-SIG] Zope.Interface won't build on 10.4

2005-07-13 Thread Kevin Dangoor
I encountered this as well. I *think* something needs to change within zope.interface to work with gcc 4.x. Anyhow, all you need to do is: sudo gcc_select 3.3 Kevin On 7/13/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Maybe I should take this to one of the Twisted or Zope lists, but t

[Pythonmac-SIG] Zope.Interface won't build on 10.4

2005-07-13 Thread brad . allen
Maybe I should take this to one of  the Twisted or Zope lists, but this appears to be a Mac-specific issue so I thought it worth mentioning here. The problem is that Zope Interface 3.01 won't build on Mac OS 10.3 using either the stock Python 2.3 or Python 2.4.1 (error transcript at the bottom).

Re: [Pythonmac-SIG] appscript + iPhoto problem

2005-07-13 Thread has
Gábor Farkas wrote: >>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. >[...] >ok, now i know more ;) > >i can use: > >iphoto = appscript.app('iPhoto') >photos = iphoto.photos.get() >photo = photos[0] >photo.titl

Re: [Pythonmac-SIG] appscript + iPhoto problem

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