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
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
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
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
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
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
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.
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