Re: [Pythonmac-SIG] appscript help - supposed to work?

2005-07-14 Thread Nicholas Riley
On Fri, Jul 15, 2005 at 01:20:58AM -0500, Nicholas Riley wrote: > I seem to remember this used to work... I tried with a couple of > other apps too; same problem. And five seconds after sending that, I realize you're supposed to use foo.help() instead. It would be nice if help() didn't barf quite

[Pythonmac-SIG] appscript help - supposed to work?

2005-07-14 Thread Nicholas Riley
I just installed the appscript 0.13.0 and its multitude of dependencies, and tried to get docs on Preview's scripting support; I was rewarded with the following: >>> from appscript import * >>> p = app('Preview') >>> help(p) Traceback (most recent call last): File "", line 1, in ? File "/Syst

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

2005-07-14 Thread Bob Ippolito
On Jul 14, 2005, at 9:17 AM, Nick Matsakis wrote: > > On Wed, 13 Jul 2005, Bob Ippolito wrote: > > >> HFS actually uses UTF-16 internally, but the POSIX layer is UTF-8. >> It will bite you if you expect the code to work on other platforms. >> Not all platforms use UTF-8 for their filesystem encod

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

2005-07-14 Thread Nick Matsakis
On Wed, 13 Jul 2005, Bob Ippolito wrote: > HFS actually uses UTF-16 internally, but the POSIX layer is UTF-8. > It will bite you if you expect the code to work on other platforms. > Not all platforms use UTF-8 for their filesystem encoding. I don't care about other platforms, but I assume from y