On 5 April 2013 06:20, Tim Roberts wrote:
> John Nagle wrote:
> >
> > That would be useful to have as a portable function for all USB
> >devices. Serial port devices are particularly annoying, because their
> >port number is somewhat random when there's more than one, and changes
> >on hot-pl
John Nagle wrote:
>
> That would be useful to have as a portable function for all USB
>devices. Serial port devices are particularly annoying, because their
>port number is somewhat random when there's more than one, and changes
>on hot-plugging.
There is no portable solution. Every operating
On 4/2/2013 3:18 PM, Sven wrote:
> Hello,
>
> I am using Python 2.7 with pyobjc on Lion and NSNotification center to
> monitor any inserted USB volumes. This works fine.
>
> I've also got some ideas how to get a device's serial number, but these
> involve just parsing all the USB devices ('system
Apologies. The main app is in python, and I would like to know any
alternative methods to do this in Python on OS X. Doesn't have to use the
OS X APIs.
I'll try elsewhere too though. Thanks
On 3 April 2013 00:37, Ned Deily wrote:
> In article
> ,
> Sven wrote:
> > I am using Python 2.7 with
In article
,
Sven wrote:
> I am using Python 2.7 with pyobjc on Lion and NSNotification center to
> monitor any inserted USB volumes. This works fine.
[...]
Since your question really is about OS X APIs and not Python or even
PyObjC, you're more likely to get a meaningful answer elsewhere. Tr
Hello,
I am using Python 2.7 with pyobjc on Lion and NSNotification center to
monitor any inserted USB volumes. This works fine.
I've also got some ideas how to get a device's serial number, but these
involve just parsing all the USB devices ('system_profiler SPUSBDataType'
command). However I'd