Re: [Pythonmac-SIG] how to retrieve unique serial number from usb storage device

2011-11-25 Thread Brendan Simon (eTRIX)
On 26/11/11 12:12 AM, David Hughes wrote: > On 25/11/2011 11:22, Brendan Simon (eTRIX) wrote: >> Anyone know how to retrieve the unique serial number of a usb storage >> device using python on OS X ?? > > How about using > > system_profiler SPUSBDataType I treid the system_profiler and got the fol

Re: [Pythonmac-SIG] py2app don't find Appkit or Quartz...

2011-11-25 Thread Ronald Oussoren
On 18 Nov, 2011, at 15:06, learner404 wrote: > Hello list!, > > OSX Lion, native Apple Python and PyObjC (64 bits). > > The setup.py and build phase from py2app seems to work great (no complaints) > until i'm launching the .app: > > Console: > from AppKit import NSBeep > ImportError: No modu

Re: [Pythonmac-SIG] py2app don't find Appkit or Quartz...

2011-11-25 Thread Aahz
On Fri, Nov 18, 2011, learner404 wrote: > > OSX Lion, native Apple Python and PyObjC (64 bits). Look at the archives for the pyobjc list: https://lists.sourceforge.net/lists/listinfo/pyobjc-dev If you're still having problems, you should ask there. -- Aahz (a...@pythoncraft.com) <*>

Re: [Pythonmac-SIG] how to retrieve unique serial number from usb storage device

2011-11-25 Thread David Hughes
On 25/11/2011 11:22, Brendan Simon (eTRIX) wrote: Anyone know how to retrieve the unique serial number of a usb storage device using python on OS X ?? How about using system_profiler SPUSBDataType -- Regards David Hughes Forestfield Software ___ Py

[Pythonmac-SIG] how to retrieve unique serial number from usb storage device

2011-11-25 Thread Brendan Simon (eTRIX)
Anyone know how to retrieve the unique serial number of a usb storage device using python on OS X ?? Is there a way to do it using ioreg command ?? My python app currently parses ioreg output to discover VID/PID combinations, so adding a bit of extra logic to get a usb unique serial number should