Re: [Pythonmac-SIG] getting/setting system volume in OS X with python?

2005-05-04 Thread Bob Ippolito
I was thinking specifically of AppleScript and SoundManager when I said "There are a couple other ways, but they're all really, really old and deprecated and often behave strangely". On May 4, 2005, at 11:07 PM, Robert Brown wrote: > You could use Applescript to do it too. But PyObjC is real

Re: [Pythonmac-SIG] getting/setting system volume in OS X with python?

2005-05-04 Thread Robert Brown
You could use Applescript to do it too.  But PyObjC is really a wonderful tool.On 4-May-05, at 8:35 PM, Bob Ippolito wrote:On May 4, 2005, at 9:51 PM, Erik Osheim wrote: I've been developing a curses-based music player in python for thelast couple of years (http://www.bearhome.net/mpy3) and it is g

Re: [Pythonmac-SIG] getting/setting system volume in OS X with python?

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 9:51 PM, Erik Osheim wrote: > I've been developing a curses-based music player in python for the > last couple of years (http://www.bearhome.net/mpy3) and it is getting > pretty good these days. I have added keybindings to control volume in > linux using the ossaudiodev module f

[Pythonmac-SIG] getting/setting system volume in OS X with python?

2005-05-04 Thread Erik Osheim
Hello list, I've been developing a curses-based music player in python for the last couple of years (http://www.bearhome.net/mpy3) and it is getting pretty good these days. I have added keybindings to control volume in linux using the ossaudiodev module found in python. I wanted to do the same th

Re: [Pythonmac-SIG] PyOXIDE wishes?

2005-05-04 Thread Bill Janssen
> How many editors have mechanisms that allow retrofitting such > functionality? Other than Emacs, I couldn't name any. Hey, once you've named Emacs, there's no need to name any others :-). Bill ___ Pythonmac-SIG maillist - Pythonmac-SIG@python.org h

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 7:55 PM, David Reed wrote: > > On May 4, 2005, at 7:30 PM, Bob Ippolito wrote: > > >> As far as friends scaring you off.. I dunno, maybe they didn't know >> what they were doing when they tried it, or they were bitten by some >> problem that has been solved long since. The on

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread David Reed
On May 4, 2005, at 7:30 PM, Bob Ippolito wrote: As far as friends scaring you off.. I dunno, maybe they didn't know what they were doing when they tried it, or they were bitten by some problem that has been solved long since. The only "incompatibility" with framework builds is that stupid extensio

Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?

2005-05-04 Thread Michael Hudson
Wolfgang Keller <[EMAIL PROTECTED]> writes: > Hello, > >>> > Dumb question: How about integrating it "officially" in the Macpython >>> > distribution, so that all file objects on MacOS X.4 automatically have >>> > an xattr dict? >>> >>> Are these functions in any way standard (eg. does FreeB

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 7:15 PM, Gary Poster wrote: > > On May 4, 2005, at 3:29 PM, Bob Ippolito wrote: > >> I'm not really sure why you're trying not to build a framework >> Python in the first place, there's no particularly good reason why >> you'd want a non-framework Python around. >> > > I'm a Zo

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread Gary Poster
On May 4, 2005, at 3:29 PM, Bob Ippolito wrote: ... > % cc --version > powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple > Computer, Inc. build 4061) ... If I were a more experienced Mac user, I'd probably blush: the problem was that I had assumed my Tiger upgrade would also autom

Re: [Pythonmac-SIG] Python 2.3+Py23Compat/Python 2.4 compatibility problem

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 6:13 PM, has wrote: > Bob wrote: > > >>> I figured that, but I'd rather hoped a more elegant solution >>> might be forthcoming at source. Is there a good reason why they >>> couldn't both agree on a common location, or at least provide the >>> relevant aliases in 2.4 to p

Re: [Pythonmac-SIG] Python 2.3+Py23Compat/Python 2.4 compatibility problem

2005-05-04 Thread has
Bob wrote: >>I figured that, but I'd rather hoped a more elegant solution might be >>forthcoming at source. Is there a good reason why they couldn't both agree on >>a common location, or at least provide the relevant aliases in 2.4 to >>preserve Python's much-vaunted backwards compatibility? >

Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 5:10 PM, Wolfgang Keller wrote: > Basically _every_ "modern" file system has extended attributes. > >>> Another question is if empty xattr dicts should appear on platforms >>> with no support for them. >>> > > >> Yes, they should appear empty, and I would imagine,

Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?

2005-05-04 Thread Wolfgang Keller
Hello, >> > Dumb question: How about integrating it "officially" in the Macpython >> > distribution, so that all file objects on MacOS X.4 automatically have >> > an xattr dict? >> >> Are these functions in any way standard (eg. does FreeBSD have >> them?). If so, they should probably be det

Re: [Pythonmac-SIG] Python 2.3+Py23Compat/Python 2.4 compatibility problem

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 4:50 PM, has wrote: > Bob wrote: > > >>> Probably one for Bob, but there's an unpleasant disagreement >>> between Py23Compat and Python 2.4 [which] means scripts written >>> on Python 2.3 break on 2.4 and vice-versa when importing any of >>> these modules. What's the fix?

Re: [Pythonmac-SIG] Python 2.3+Py23Compat/Python 2.4 compatibility problem

2005-05-04 Thread has
Bob wrote: >>Probably one for Bob, but there's an unpleasant disagreement between >>Py23Compat and Python 2.4 [which] means scripts written on Python 2.3 break >>on 2.4 and vice-versa when importing any of these modules. What's the fix? > >This is not a bug, Maybe not, but it's hardly good desi

[Pythonmac-SIG] AddressBook wrapper

2005-05-04 Thread Dethe Elza
The AddressBook wrapper doesn't appear to expose the constants kABShowAsPerson (0), kABShowAsCompany (1), or kABShowAsMask (7). --Dethe Life is extinct on other planets. Thier scientists were more advanced than ours. --Mark Russell ___ Pythonmac-S

Re: [Pythonmac-SIG] Python 2.3+Py23Compat/Python 2.4 compatibility problem

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 3:21 PM, has wrote: > Probably one for Bob, but there's an unpleasant disagreement > between Py23Compat and Python 2.4 on where the LaunchServices, OSA, > and other new 2.4 modules are located: the former installs them in > individual directories of the same name under si

[Pythonmac-SIG] Python 2.3+Py23Compat/Python 2.4 compatibility problem

2005-05-04 Thread has
Hi all, Probably one for Bob, but there's an unpleasant disagreement between Py23Compat and Python 2.4 on where the LaunchServices, OSA, and other new 2.4 modules are located: the former installs them in individual directories of the same name under site-packages, the later keeps them at the to

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 2:15 PM, Gary Poster wrote: > On May 4, 2005, at 12:19 PM, Bob Ippolito wrote: > > >> On May 4, 2005, at 11:15 AM, Gary Poster wrote: >> >> >> >>> Hi. I found Bob Ippolito's TigerPython24Fix but that's only for a >>> framework Python 2.4.1--I need to build a non-Framework Pyth

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread Gary Poster
On May 4, 2005, at 2:15 PM, Gary Poster wrote: > On May 4, 2005, at 12:19 PM, Bob Ippolito wrote: >> Building Python 2.4.1 *on* Tiger has no issues, because I fixed >> that before Python 2.4.1 was released. >> >> Python 2.4.1 built on Panther, and moved over to Tiger, *does* have >> issues, and th

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread Gary Poster
On May 4, 2005, at 12:19 PM, Bob Ippolito wrote: > > On May 4, 2005, at 11:15 AM, Gary Poster wrote: > > >> Hi. I found Bob Ippolito's TigerPython24Fix but that's only for a >> framework Python 2.4.1--I need to build a non-Framework Python 2.4.1 >> from source. I guess if I were zen-ful about M

Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?

2005-05-04 Thread Ronald Oussoren
On 4-mei-2005, at 18:32, Christopher Petrilli wrote: > On 5/4/05, Dethe Elza <[EMAIL PROTECTED]> wrote: > >>> The trick is that on Solaris and SELinux they're purely an ACL issue >>> as far as I know. I believe Tiger is the first OS to fully deploy an >>> abstract meta-data infrastructure in the

Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?

2005-05-04 Thread Ronald Oussoren
On 4-mei-2005, at 18:00, Bob Ippolito wrote: >> >> That's _exactly_ the way it should be done. :-) >> >> Dumb question: How about integrating it "officially" in the >> Macpython >> distribution, so that all file objects on MacOS X.4 automatically >> have >> an xattr dict? >> > > Since that wo

Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?

2005-05-04 Thread Christopher Petrilli
On 5/4/05, Dethe Elza <[EMAIL PROTECTED]> wrote: > > The trick is that on Solaris and SELinux they're purely an ACL issue > > as far as I know. I believe Tiger is the first OS to fully deploy an > > abstract meta-data infrastructure in the FS. While ReiserFS has it, > > from what I'm told, it's not

Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?

2005-05-04 Thread Dethe Elza
> The trick is that on Solaris and SELinux they're purely an ACL issue > as far as I know. I believe Tiger is the first OS to fully deploy an > abstract meta-data infrastructure in the FS. While ReiserFS has it, > from what I'm told, it's not widely deployed. Not entirely true, BeOS pioneered file

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 12:04 PM, Craig Amundsen wrote: >> However, I suppose that a straight build >> from the Python sources will yield just what you want, it's probably >> the Framework build that requires special action. >> > > That is correct. I built 2.4 from source and had to do a bit of > comm

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 11:15 AM, Gary Poster wrote: > Hi. I found Bob Ippolito's TigerPython24Fix but that's only for a > framework Python 2.4.1--I need to build a non-Framework Python 2.4.1 > from source. I guess if I were zen-ful about Mac packages I'd be > able to figure out the necessary change

Re: [Pythonmac-SIG] Adding missing modules in py2app

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 8:41 AM, [EMAIL PROTECTED] wrote: > I noticed that py2app systematically leaves out some extension modules > when I build an application package. I don't really blame it, as they > reside in a directory that is only added to sys.path when some other > module is imported, but I

Re: [Pythonmac-SIG] PyOXIDE wishes?

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 7:17 AM, Scott Lawton wrote: > - given the wide variety of free IDEs, perhaps its time for a paid > one to enter the mix? Presumably that would allow more features in > less time. For example, there's now a commercial editor for Perl > on the Mac: Affrus from Late Night

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread Craig Amundsen
Hi - > However, I suppose that a straight build > from the Python sources will yield just what you want, it's probably > the Framework build that requires special action. That is correct. I built 2.4 from source and had to do a bit of command-line jiggling to get the Framework build instead of th

Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?

2005-05-04 Thread Bob Ippolito
On May 4, 2005, at 6:38 AM, Wolfgang Keller wrote: >> On May 3, 2005, at 11:09 AM, Wolfgang Keller wrote: >> > > >>> has anyone already wrapped the getxattr(), setxattr(), >>> removexattr(), listxattr() functions on MacOS 10.4 for >>> Python? >>> > > >> I took a stab at it today. >> > > Hey,

Re: [Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread konrad . hinsen
On May 4, 2005, at 17:15, Gary Poster wrote: > Hi. I found Bob Ippolito's TigerPython24Fix but that's only for a > framework Python 2.4.1--I need to build a non-Framework Python 2.4.1 > from source. I guess if I were zen-ful about Mac packages I'd be > able to figure out the necessary changes fr

[Pythonmac-SIG] building non-Framework Python 2.4.1 on Tiger

2005-05-04 Thread Gary Poster
Hi. I found Bob Ippolito's TigerPython24Fix but that's only for a framework Python 2.4.1--I need to build a non-Framework Python 2.4.1 from source. I guess if I were zen-ful about Mac packages I'd be able to figure out the necessary changes from the download...but I'm not. Could anyone h

Re: [Pythonmac-SIG] Some Mac packages for downloading

2005-05-04 Thread Lee Cullens
Konrad, Wanted to say thanks. Not packages I;d use every day :~) (more into engineering modeling) but it looks like things are starting to come together more in the Mac+Python community. Together with what Jack started and Bob is doing now, your work is a real contribution. Maybe at some po

[Pythonmac-SIG] Some Mac packages for downloading

2005-05-04 Thread konrad . hinsen
I have started a small collection of Mac packages at http://dirac.cnrs-orleans.fr/MacPackages/ At the moment there is netCDF, ScientificPython, MMTK, and nMOLDYN. netCDF is also available from the netCDF Web site (I sent them my package, they liked it and plan to provide Mac packages th

Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?

2005-05-04 Thread Christopher Petrilli
On 5/4/05, Michael Hudson <[EMAIL PROTECTED]> wrote: > Wolfgang Keller <[EMAIL PROTECTED]> writes: > > [xattr & co] > > Dumb question: How about integrating it "officially" in the Macpython > > distribution, so that all file objects on MacOS X.4 automatically have > > an xattr dict? > > Are thes

[Pythonmac-SIG] Adding missing modules in py2app

2005-05-04 Thread konrad . hinsen
I noticed that py2app systematically leaves out some extension modules when I build an application package. I don't really blame it, as they reside in a directory that is only added to sys.path when some other module is imported, but I am looking for a way to tell py2app to include them nevert

Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?

2005-05-04 Thread Michael Hudson
Wolfgang Keller <[EMAIL PROTECTED]> writes: [xattr & co] > Dumb question: How about integrating it "officially" in the Macpython > distribution, so that all file objects on MacOS X.4 automatically have > an xattr dict? Are these functions in any way standard (eg. does FreeBSD have them?). If so,

Re: [Pythonmac-SIG] PyOXIDE wishes?

2005-05-04 Thread konrad . hinsen
On May 4, 2005, at 13:17, Scott Lawton wrote: > - given the wide variety of free IDEs, perhaps its time for a paid one > to enter the mix? Presumably that would allow more features in less > time. For example, There is one good commercial IDE for Python, WingIDE. I use it (on a free open-sou

Re: [Pythonmac-SIG] PyOXIDE wishes?

2005-05-04 Thread Scott Lawton
Since this thread came up again, I'll take the liberty of adding my own $0.02 (I just joined the list recently): - in addition to reviewing recent threads that covered IDEs, please review threads that describe newbie impressions of MacPython. For example, Troy Rollins's views are quite importa

Re: [Pythonmac-SIG] MacOS 10.4: getxattr() etc. for Python?

2005-05-04 Thread Wolfgang Keller
Hello, > On May 3, 2005, at 11:09 AM, Wolfgang Keller wrote: >> has anyone already wrapped the getxattr(), setxattr(), >> removexattr(), listxattr() functions on MacOS 10.4 for >> Python? > I took a stab at it today. Hey, I had asked _whether_ someone has done it, I didn't ask you _to_