[Pythonmac-SIG] expat.py broken in Python 2.5

2008-03-30 Thread Stewart Midwinter
In the lastest python 2.5 build for Macintosh, the pyexpat module binary is not available to Mac users with Intel processors. If you try to import it, you get an error saying that the binary is for PPC architecture only. This is a bug introduced in Python 2.5, since it does not exist in Python 2.

Re: [Pythonmac-SIG] Pythonmac-SIG Digest, Vol 37, Issue 28

2006-05-26 Thread Stewart Midwinter
> > From: Jerry LeVan <[EMAIL PROTECTED]> > To: pythonmac-sig@python.org > Date: Wed, 24 May 2006 15:39:48 -0400 > Subject: [Pythonmac-SIG] WhereAmI ? > I can easily pick up modules living in Resources, but > I can't see how to find pure "data" files living in the > the Resources folder. > Jer

Re: [Pythonmac-SIG] wxPython -- some disappointment using it.

2006-04-12 Thread Stewart Midwinter
> > From: Charles Hartman <[EMAIL PROTECTED]> > If I recall correctly, this syndrome is covered in the book. It > happens because the diagnostic's going to a window that closes when > the app does. Look up wx.App(redirect=True) in the index -- you can > write the diagnostic to a file and examine

Re: [Pythonmac-SIG] Matplotlib give bus error (10.3.9)

2006-03-22 Thread Stewart Midwinter
-- Forwarded message -- From: Tom Loredo <[EMAIL PROTECTED]> >mpl built and installed fine, but gave a bus error when trying to plot ("import matplotlib" would work fine, but "import pylab" would give the error). Tom, I came across a bus error in an unrelated package, wax (a pytho

Re: [Pythonmac-SIG] path locations

2006-03-22 Thread Stewart Midwinter
> From: Christopher Barker <[EMAIL PROTECTED]> > Here's where you've deviated from the standard: As a rule, you shouldn't > out ANYTHING in /usr/bin. that's Apple's job. As you haven't written > over anything, it's probably not going to cause any problems, but the > usual solution is to add /usr/lo

Re: [Pythonmac-SIG] Question on user's directory ( ~ )

2006-03-18 Thread Stewart Midwinter
On 3/18/06, Kent Quirk <[EMAIL PROTECTED]> wrote: > Try this: > > import os.path > os.path.expanduser('~') you da man! That works perfectly. I mostly use Python on WinXP, so I haven't been familiar with that function up until now. thanks again S ___

[Pythonmac-SIG] Question on user's directory ( ~ )

2006-03-18 Thread Stewart Midwinter
I have a question on use of the tilde symbol (~) to access the current user's home directory. If you are in a bash shell, you can "cd ~" and be in the default user's home directory. I want my python app to be able to switch to the user's directory. But I can't use os.chdir('~') since Python does

[Pythonmac-SIG] py2app question

2006-03-16 Thread Stewart Midwinter
I have an application I'd like to have located on a USB stick, and be able to run in a self-contained manner on any PC it's connected to, whether running OS X or Windows. Can I use py2app to help create this stand-alone distribution? Or, could I count on Python always being installed on any OS X

Re: [Pythonmac-SIG] indentation problem

2006-03-10 Thread Stewart Midwinter
> From: altern <[EMAIL PROTECTED]> > Subject: [Pythonmac-SIG] indentation problem > hi all > > i have been developing some tutorials with PyOxide and now i find that > when i open them on Smultron the indentation is wrong. I use Smultron as well. What do you mean, "the indentation is wrong"? Too

[Pythonmac-SIG] what is wxMacExecute Bad bundle?

2006-03-07 Thread Stewart Midwinter
hi I'm working on Firedrop2, a blogging client using wax and wxPython. I'm developing on OS X 10.4.4. My problem occurs while starting the app, long before a GUI is created. I import several plugins. The app was running fine earlier, now suddenly it's choking when I try to import the last of