[Pythonmac-SIG] Spotlight Importing without .py

2006-01-20 Thread Nicholas Matsakis
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 written that have no filename extension. Anyone have a super elegant sol

Re: [Pythonmac-SIG] dumping characters into a list

2006-01-20 Thread Sheila King
--On January 20, 2006 8:26:44 PM -0800 Bob Ippolito <[EMAIL PROTECTED]> wrote: > You don't need that intermediate list, strings are iterable. No, you don't. I was just sort of thinking out loud here on the list...only solved half of his problem on the first round. This certainly works too: >>>

Re: [Pythonmac-SIG] dumping characters into a list

2006-01-20 Thread Bob Ippolito
On Jan 20, 2006, at 7:37 PM, Sheila wrote: > --On January 20, 2006 7:24:47 PM -0800 Sheila King > <[EMAIL PROTECTED]> > wrote: > >> --On January 20, 2006 9:18:26 PM -0600 Silas Hundt >> <[EMAIL PROTECTED]> >> wrote: > ... >>> Receive input, cut that string up into individual characters (ALL >

Re: [Pythonmac-SIG] dumping characters into a list

2006-01-20 Thread Sheila
--On January 20, 2006 7:24:47 PM -0800 Sheila King <[EMAIL PROTECTED]> wrote: > --On January 20, 2006 9:18:26 PM -0600 Silas Hundt <[EMAIL PROTECTED]> > wrote: ... >> Receive input, cut that string up into individual characters (ALL >> characters, including spaces), put them in order into a list,

Re: [Pythonmac-SIG] dumping characters into a list

2006-01-20 Thread Sheila King
--On January 20, 2006 9:18:26 PM -0600 Silas Hundt <[EMAIL PROTECTED]> wrote: > Receive input, cut that string up into individual characters (ALL > characters, including spaces), put them in order into a list, then > pull them out in order to convert them to a number. > > So... should I go ahead

[Pythonmac-SIG] dumping characters into a list

2006-01-20 Thread Silas Hundt
I am at wits end. I need to do something that I would think python almost has automated: Receive input, cut that string up into individual characters (ALL characters, including spaces), put them in order into a list, then pull them out in order to convert them to a number. So... should I go

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

2006-01-20 Thread Christopher Barker
Russell E. Owen wrote: >>It would be great if you contributed some upgraded packages to pythonmac. > Gladly! > > Mostly I want to see numarray 1.5 there. Go for it. I've been meaning to do it, but haven't gotten around to it. > It has C code and links to > LAPACK and BLAS. So...do I somehow nee

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

2006-01-20 Thread Russell E. Owen
In article <[EMAIL PROTECTED]>, Christopher Barker <[EMAIL PROTECTED]> wrote: > Russell E. Owen wrote: > > Are there any tips or tricks to building 3rd party python extensions on > > MacOS X 10.4 in such a way that 10.3 users can use them? > > It can be done, but I think it's PITA > > >

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

2006-01-20 Thread Christopher Barker
Bob Ippolito wrote: > Is there a difference? pkg bundles can contain anything that you can > put on a filesystem plus arbitrary executable code to run at various > points during the installation process, so there's nothing they can't > do from a technical perspective. That was my question.

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

2006-01-20 Thread Bob Ippolito
On Jan 20, 2006, at 9:20 AM, Christopher Barker wrote: > Bob Ippolito wrote: > >> Not yet. > > Not yet at all? or not yet with bdist_mpkg ? Is there a difference? pkg bundles can contain anything that you can put on a filesystem plus arbitrary executable code to run at various points during

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

2006-01-20 Thread Christopher Barker
Bob Ippolito wrote: > Not yet. Not yet at all? or not yet with bdist_mpkg ? > We could mine Cheese Shop and list the pure python packages, the > packages that have Mac OS X eggs, and the mpkgs. And put the results on the pythonmac site? I like that. -Chris -- Christopher Barker, Ph.D. O

[Pythonmac-SIG] py2app and tkinter

2006-01-20 Thread Mathew James Oakes
py2app documentation says it is compatible with Tk... I happily build apps with pygame dependency. scripts run fine from command line. Tk interfaces just 'unexpectedly quit' when launched every time in app form... anyone got any tips for this??? osx 10.3.9, tcl/tk 8.4, python 2.3 produces