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