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

2011-11-26 Thread David Hughes
On 25/11/2011 22:20, Brendan Simon (eTRIX) wrote: 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 t

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