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
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
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
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
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
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
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