[Pythonmac-SIG] compiling PIL on OSX10.5

2008-02-27 Thread DavidW
Hello all, I'm trying to compile the image library PIL 1.1.6, using their setup.py (python 2.4 on OX10.5) and gcc (i686-apple-darwin9-gcc-4.0.1) loader is throwing a build error: --- building '_imagingtk' extension gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -g - b

[Pythonmac-SIG] py-appscript problem in crontab

2008-02-27 Thread tom wible
just wrote a script to kill live eyetv: #! /usr/bin/env python from appscript import * app(u'/Applications/EyeTV.app').window[its.name.startswith('EyeTV')].close() and it works great fom the cli, but not in crontab: Subject: Cron <[EMAIL PROTECTED]> /DVR/scripts/noLiveEyeTV.py X-Cron-Env: X-Cro

Re: [Pythonmac-SIG] Path conversions

2008-02-27 Thread Ned Deily
In article <[EMAIL PROTECTED]>, Henning Hraban Ramm <[EMAIL PROTECTED]> wrote: > Maybe I overlooked some basics of Python's Unicode handling, but my > main problem at the moment are those Mac paths for appscript. The macfile module of py-appscript was renamed to mactypes. So, with the lastest

Re: [Pythonmac-SIG] Python module installation on Leopard runs but doesn't install

2008-02-27 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Christopher Barker <[EMAIL PROTECTED]> wrote: > Robert Anderson wrote: > > I am running a factory installation of Leopard and command line Python > > appears to run OK. However, when I attempted to install a downloaded > > package, PYTZ for example, > > where

Re: [Pythonmac-SIG] Python module installation on Leopard runs but doesn't install

2008-02-27 Thread Christopher Barker
Robert Anderson wrote: > I am running a factory installation of Leopard and command line Python > appears to run OK. However, when I attempted to install a downloaded > package, PYTZ for example, where are you downloading it from, and in what form? If it's a .mpgk, or .pkg, then it was built

[Pythonmac-SIG] Python module installation on Leopard runs but doesn't install

2008-02-27 Thread Robert Anderson
I am a new user to Python on Mac (Leopard) and am having a problem installing modules. I have seen various mails about directory problems with Python Leopard and I am not sure if they relate to my particular problem. I am running a factory installation of Leopard and command line Python

[Pythonmac-SIG] Path conversions

2008-02-27 Thread Henning Hraban Ramm
I guess this is a FAQ, but I couldn't find an answer that fits my needs... Normally you use unicode paths (with os.sep) with python. For appscript you need AppleScript file aliases (or how they're called). Additionally OSX' file system uses decomposed UTF-8, while most applications use compose