[Pythonmac-SIG] IDLE

2006-01-21 Thread Kris Olson
HiI have just been to a conference in Sydney called the National Computer Science School.  I have come home to work on some of the python concepts we have covered and am having a problem with my mac.  It won't  open .cgi files with IDLE.  I have tried to open it through "open with" and to change th

Re: [Pythonmac-SIG] Spotlight Importing without .py

2006-01-21 Thread Nicholas Riley
On Sun, Jan 22, 2006 at 12:13:07AM -0500, Nicholas Matsakis wrote: > So, is it possible there is _no_ standard type code for python source? If > not, any thoughts on registering one? Indeed, they're text files. I wouldn't want them to behave any other way. The basic problem is that a four-char

Re: [Pythonmac-SIG] Spotlight Importing without .py

2006-01-21 Thread Nicholas Matsakis
Henning Hraban Ramm wrote: > In this case, 'file' may be right. But I wouldn't trust it if you've to > handle a lot of file types. ... Mostly I could trust in extensions > and/or Mac type/creator codes. I certainly agree with this; applications that create files are in the best position to kn

Re: [Pythonmac-SIG] Spotlight Importing without .py

2006-01-21 Thread Henning Hraban Ramm
Am 2006-01-21 um 08:01 schrieb Nicholas Matsakis: > > * The saddest part of this story is that /usr/bin/file has been on > Mac OS > X since day one and understands perfectly well what a "a python script > text executable" is. Yet, when the Finder encounters a file > without an > extension or H

Re: [Pythonmac-SIG] Spotlight Importing without .py

2006-01-21 Thread Nicholas Matsakis
On Sat, 21 Jan 2006, Jonathan Wight wrote: > I'm the author of Python Metadata Importer. There should already be a HFS > type code for Python source. I can add the type code to Python Metadata > Importer to wide its search. Getting the importer to work with Spotmeta is > AFAICT a non-starter -

Re: [Pythonmac-SIG] Spotlight Importing without .py

2006-01-21 Thread Jonathan Wight
On Jan 21, 2006, at 2:01 AM, Nicholas Matsakis wrote: > http://www.apple.com/downloads/macosx/spotlight/ > pythonmetadataimporter.html > > I really dig the Spotlight Metadata Importer for python, but it > only works > for files ending in ".py" which excludes various shell scripts I have > writt

Re: [Pythonmac-SIG] Building extensions on 10.4 that can be used on 10.3?

2006-01-21 Thread Ronald Oussoren
On 20-jan-2006, at 23:30, Russell E. Owen wrote: > > > As to Ronald Oussoren's reply: you're absolutely right. I'll have to > keep a MacOS X 10.3 machine around anyway for testing, so I might as > well build the application on that. Sigh. Just build the extensions there. Assuming that you do mos

Re: [Pythonmac-SIG] Mac Python and eggs...

2006-01-21 Thread Ronald Oussoren
On 20-jan-2006, at 3:04, Bob Ippolito wrote: > > On Jan 19, 2006, at 5:02 PM, Christopher Barker wrote: > >>> There's no good reason to prefer eggs on pythonmac.org. >> >> I don't quite follow. Are you suggesting that we don't put any >> eggs on >> pythonmac? If so, then we do put non-egg packa