Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'subject:Getting': 0.07; 'apis': 0.09; 'inserted': 0.09; 'meaningful': 0.09; 'subject:number': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; '2.7': 0.14; 'apis.': 0.16; 'elsewhere.': 0.16; 'fine.': 0.16; 'wrote:': 0.18; 'app': 0.19; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'question': 0.24; 'cc:2**0': 0.24; '>': 0.26; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'skip:& 70': 0.31; 'though.': 0.31; 'url:python': 0.33; 'received:74.125.82': 0.34; 'subject:from': 0.34; 'received:google.com': 0.35; 'really': 0.36; 'url:listinfo': 0.36; 'thanks': 0.36; "i'll": 0.36; 'url:org': 0.36; 'too': 0.37; 'lists.': 0.38; 'received:74.125': 0.39; 'url:mail': 0.40; 'even': 0.60; "you're": 0.61; 'skip:n 10': 0.64; 'more': 0.64; 'article': 0.77; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=trPoLbJDu3u0MU90VeDH9vxhXSX8ZbfOZpx2LefJrEA=; b=Oy0xfZ8ywKcbYjpLiQx33/oDyWXPkEI/xwvBuMGCiq2wMC6XIPhrH6FZYXjh2zxaui SLvj5jcx8fjg6is3UtIW1GIIwEZ7NyFIYVYD1uRlDfJ03ZOjH6+MkggeKdZwF6NUJXGw 3DPf+h/Aw7TrWUluMMe+/n6Zk8TnfbWvFkIo6wJYKMRUEsGMI1ePgSP7Ohj1Qe2/aK0a 2C73Xa6//EWhYxrpTf/7/vvMdkJXetamaMoS7cCvxYGAR05lzMwonX0+fiLU2v8zlZrp 1kzthpS/vjsxhI7FQEnR38whGnEdSF5AvA5dMMA1pHZ6Y8fwqj2x5soGTTepJLPHGVMx sjIw== MIME-Version: 1.0 X-Received: by 10.180.12.48 with SMTP id v16mr1191811wib.1.1364976853625; Wed, 03 Apr 2013 01:14:13 -0700 (PDT) In-Reply-To: References: Date: Wed, 3 Apr 2013 09:14:13 +0100 Subject: Re: Getting USB volume serial number from inserted device on OSX From: Sven To: Ned Deily Content-Type: multipart/alternative; boundary=001a11c223647cb22e04d970705e Cc: python-list X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 76 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1364976860 news.xs4all.nl 6900 [2001:888:2000:d::a6]:60850 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:42645 --001a11c223647cb22e04d970705e Content-Type: text/plain; charset=ISO-8859-1 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 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. Try > StackOverflow or one of the OS X lists. > > -- > Ned Deily, > nad@acm.org > > -- > http://mail.python.org/mailman/listinfo/python-list > -- ./Sven --001a11c223647cb22e04d970705e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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 Ap= ril 2013 00:37, Ned Deily <nad@acm.org> wrote:
In article
<CAEH=3DcXV0DJa6CCZ4T1RvL2L1g7D_mdDF4=3D52vuGCM5mWT18J4Q@mail.gmail.com>,
=A0Sven <svenito@= gmail.com> 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. =A0Try=
StackOverflow or one of the OS X lists.

--
=A0Ned Deily,
=A0nad@acm.org

--
http://mail.python.org/mailman/listinfo/python-list



-- ./Sven
--001a11c223647cb22e04d970705e--