Re: [Pythonmac-SIG] LOLpatents

2008-12-13 Thread Hamish Allan
On Sat, Dec 13, 2008 at 11:15 PM, Jack Jansen wrote: > Could other people share their insights too, and/or ask around? Intuitively (to me) the best time to fight would be the least expensive, which is before the fight gets into the domain of lawyers, which means before the patent is granted, whi

Re: [Pythonmac-SIG] Accessing Resource forks

2007-07-13 Thread Hamish Allan
Hi Chris, Let me start by saying that I've never used MS services for Macintosh, so this is all guesswork. But the first thing I wondered was, if files uploaded over AFP aren't using ._* files, what are they using? Presumably the Windows machine isn't actually mounting an HFS or HFS+ filesystem, s

Re: [Pythonmac-SIG] CGI + appscript newbie question/problem

2007-05-28 Thread Hamish Allan
When you run appscript at the command line and the little rocket appears in the Dock, that's Python connecting to the window server -- through which Apple events are managed. For security purposes, your Apache process can't connect to the window server. You'll probably have to create a daemon runni

Re: [Pythonmac-SIG] Python 2.5 and easy_install

2007-02-12 Thread Hamish Allan
st wishes, Hamish On Tue Feb 13 07:37:41 CET 2007, Hamish Allan wrote: > Hi, > > I just installed Python 2.5 on my Intel OS X machine, and it seems to > work fine. Now I need to go about installing the packages I had on > 2.4. I downloaded ez_setup.py and it installed easy_install.

[Pythonmac-SIG] Python 2.5 and easy_install

2007-02-12 Thread Hamish Allan
Hi, I just installed Python 2.5 on my Intel OS X machine, and it seems to work fine. Now I need to go about installing the packages I had on 2.4. I downloaded ez_setup.py and it installed easy_install. However, when I run easy_install (the first one I tried was "easy_install pyx") I get: [...] Ru

Re: [Pythonmac-SIG] non-blocking keyboard input

2007-02-08 Thread Hamish Allan
On 2/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > What's the best way to get non-blocking input from keyboard w/OS X 10.4? > >while(True) : > if nonBlockInputExists : > break > else : > # continue looping The 'select' module provides this functionality:

[Pythonmac-SIG] How to fathom appscript

2006-12-18 Thread Hamish Allan
Hi, I'm new to appscript (and relatively new to python) and I'm having trouble fathoming out how to determine what can be done with each type of object. For example, itunes = app('iTunes') x = itunes.sources.first.playlists[its.name.contains('MyName')] This code fetches any playlists containing