Re: [Pythonmac-SIG] Storing path as alias

2010-02-21 Thread has
Tobias Weber wrote: > how do I store an unbreakable alias instead of a POSIX path? > > There's mactypes.Alias in appscript, but it doesn't look serializable. mactypes.Alias doesn't provide flatten/unflatten APIs, but it's just a wrapper around aem.ae.AEDesc, which does. Check their docstrings f

Re: [Pythonmac-SIG] Storing path as alias

2010-02-21 Thread Tobias Weber
On 21.02.2010, at 15:20, has wrote: Thanks! I made working examples for both, but I guess the first has AppleScript limitations like requiring a UI context. > mactypes.Alias doesn't provide flatten/unflatten APIs, but it's just a > wrapper around aem.ae.AEDesc, which does. import base64 impor

[Pythonmac-SIG] Problems installing Python-2.7a3 on 10.6.2

2010-02-21 Thread Tom Loredo
Hi folks- I've tried installing an intel framework universal build of Py-2.7a3 on Snow Leopard 10.6.2 (i.e., i386 + x86_64). I used this configure: ./configure --prefix=/usr/local/tmp --enable-framework --with-framework-name=PythonAlpha --enable-universalsdk=/ -- with-universal-archs=intel

[Pythonmac-SIG] Problems installing 32-bit Py-2.6.4 framework on 10.6.2

2010-02-21 Thread Tom Loredo
Hi folks, I've been attempting to install a 32-bit version of Python-2.6.4 on Snow Leopard 10.6.2. I'd like to install it from source (a 32-bit binary built for 10.3+ is at Python.org). Unfortunately, I haven't yet figured out a way to get an accessible 32-bit interpreter built on Snow Leopard.