Re: [Pythonmac-SIG] using the "PyUSB" module

2009-04-02 Thread Chris Rebert
On Thu, Apr 2, 2009 at 5:36 PM, Rekow Warren wrote: > I am a new MacPython (ver 2.6.1) user who has downloaded the "PyUSB" module, > but am unclear about how to make it available for use in a program. Included > among the downloaded files is 'setup.py' (and 'setup.pyc'). Running > 'setup.py' via I

[Pythonmac-SIG] using the "PyUSB" module

2009-04-02 Thread Rekow Warren
I am a new MacPython (ver 2.6.1) user who has downloaded the "PyUSB" module, but am unclear about how to make it available for use in a program. Included among the downloaded files is 'setup.py' (and 'setup.pyc'). Running 'setup.py' via IDLE yields the following error msg: --- Traceback (m

Re: [Pythonmac-SIG] py2app traceback with wxPython 2.8.9.2

2009-04-02 Thread Christopher Barker
Paul McNett wrote: I get a traceback running py2app with wxPython 2.8.9.2, but not with wxPython 2.8.9.1. Here's the traceback: copying /Library/Frameworks/Python.framework/Versions/2.5/lib/libncurses.5.dylib -> ValueError: Unknown load command: 27 Are you using the latest py2app and ma

Re: [Pythonmac-SIG] py2app traceback with wxPython 2.8.9.2

2009-04-02 Thread David Hughes
Paul McNett wrote: Hi, I get a traceback running py2app with wxPython 2.8.9.2, but not with wxPython 2.8.9.1. Here's the traceback: copying /Library/Frameworks/Python.framework/Versions/2.5/lib/libncurses.5.dylib -> ValueError: Unknown load command: 27 > /Users/pmcnett/py/sbs/shutter_s

Re: [Pythonmac-SIG] [PyObjC] setting button name in NSOpenPanel

2009-04-02 Thread Nicholas Riley
On Thu, Apr 02, 2009 at 01:36:46PM +0200, Steph-info wrote: > Thanks Nicholas, it works for the "Open" button. > > I found the following cocoa reference for the "Cancel" button : > > """ > NSSavePanel *panel = [NSSavePanel savePanel]; > NSButton* cancelButton = > [[panel contentVi

Re: [Pythonmac-SIG] [PyObjC] setting button name in NSOpenPanel

2009-04-02 Thread Steph-info
Le 2 avr. 09 à 12:28, Nicholas Riley a écrit : On Thu, Apr 02, 2009 at 09:52:26AM +0200, Steph-info wrote: Hi, I have the following piece of code : """ @objc.IBAction def chooseRec_(self, sender): op = NSOpenPanel.openPanel() op.setTit

Re: [Pythonmac-SIG] [PyObjC] setting button name in NSOpenPanel

2009-04-02 Thread Nicholas Riley
On Thu, Apr 02, 2009 at 09:52:26AM +0200, Steph-info wrote: > Hi, > > I have the following piece of code : > > """ > @objc.IBAction > def chooseRec_(self, sender): > op = NSOpenPanel.openPanel() > op.setTitle_('Choisir un dossier') > op.

[Pythonmac-SIG] [PyObjC] setting button name in NSOpenPanel

2009-04-02 Thread Steph-info
Hi, I have the following piece of code : """ @objc.IBAction def chooseRec_(self, sender): op = NSOpenPanel.openPanel() op.setTitle_('Choisir un dossier') op.setCanChooseDirectories_(True) op.setCanChooseFiles