Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin3!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.127 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.75; '*S*': 0.01; 'url:au': 0.05; 'attribute': 0.07; 'python': 0.11; 'windows': 0.15; 'arm.': 0.16; 'bumping': 0.16; 'sat,': 0.16; 'wrote:': 0.18; 'module': 0.19; 'trying': 0.19; 'email addr:gmail.com>': 0.22; 'header:In- Reply-To:1': 0.27; "doesn't": 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; '13,': 0.31; 'stuff': 0.32; 'run': 0.32; 'url:python': 0.33; 'anybody': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'version': 0.36; 'similar': 0.36; 'url:org': 0.36; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'pm,': 0.38; 'skip:& 20': 0.39; 'to:addr:python.org': 0.39; 'eventually': 0.60; 'solve': 0.60; 'url:3': 0.61; 'personal': 0.63; 'url:blogspot': 0.65; 'within': 0.65; 'serial': 0.72; 'jul': 0.74; 'url:2013': 0.84; 'bluetooth': 0.91; 'robot': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=X0PxiATXutUZa08aBe+hKA0a/epENkkuJ2wqq1EAU2Q=; b=dV09kv98z1ZPpyPnd2VJtsvsq+XlN+jD5puiUVJDZgJ5aLzEXikMBmW9WWcoeLAxv5 5OlxdpXvunhUi5biKt+CB+RymClUP5fdOIwRRX8F8JL7dRSlBTLbOO+t/ZJR8tmAGcl8 vuFtsmB5CNAGcjYhBhU+oeRVvMwNDyewxx19TODtuz/ClecLZATu93C3xGn2i4GmTaAB k+ktmkDdgtTLxkrrwGQ83FO8fjgvGxDVFG4w2gKqrIAtynEB12OjsKztNWljTW+VTq9t WnInA8KpTGFOXLb0zCHAvmwm/0rYebHaPM2cLRtGOhmTg1ESeHT7OVgL+zFKhfF5lRz5 Wtww== MIME-Version: 1.0 X-Received: by 10.52.178.227 with SMTP id db3mr20041330vdc.20.1373953947831; Mon, 15 Jul 2013 22:52:27 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Jul 2013 15:22:27 +0930 Subject: Re: Bluetooth Sockets From: Simfake Fake To: python-list@python.org Content-Type: multipart/alternative; boundary=bcaec5196fe3ff917504e19a9455 X-Mailman-Approved-At: Tue, 16 Jul 2013 09:43:20 +0200 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: 54 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373960601 news.xs4all.nl 15883 [2001:888:2000:d::a6]:34516 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50729 --bcaec5196fe3ff917504e19a9455 Content-Type: text/plain; charset=UTF-8 Just bumping this, but has anybody have any personal experience with bluetooth in python 3? Perhaps my issue is that the windows version doesn't include it? On Sat, Jul 13, 2013 at 6:23 PM, Simfake Fake wrote: > Hi. I'm trying to connect to a bluetooth serial adaptor using python 3.x. > However, in python 3.3.2 win x32, I get "AttributeError: module has no > attribute AF_..." when trying to use socket.AF_BLUETOOTH, despite the docs > http://docs.python.org/3.3/library/socket.html . The code I have is very > similar to that found > http://kevindoran1.blogspot.com.au/2013/04/bluetooth-programming-with-python-3.html > I need to use python 3.x, as this is eventually going to run within > Blender. It's going to run within blender so I can use blender to visualize > and solve inverse-kinematic stuff for a robot arm. > > Regards > Jak_o_Shadows > --bcaec5196fe3ff917504e19a9455 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Just bumping this, but has anybody have any personal exper= ience with bluetooth in python 3? Perhaps my issue is that the windows vers= ion doesn't include it?


On Sat, Jul 13, 2013 at 6:23 PM, Simfake Fake <simfake.mapping@gma= il.com> wrote:
Hi. I'm trying to connect to a bluetooth serial adapto= r using python 3.x. However, in python 3.3.2 win x32, I get "Attribute= Error: module has no attribute AF_..." when trying to use socket.AF_BL= UETOOTH, despite the docs http://docs.python.org/3.3/library/socket.html<= /a> . The code I have is very similar to that found=C2=A0http://kevindoran1.blogspot.com.au/2013/04/bluetooth-p= rogramming-with-python-3.html
I need to use python 3.x, as this is eventually going to run within Blender= . It's going to run within blender so I can use blender to visualize an= d solve inverse-kinematic stuff for a robot arm.

Regards
Jak_o_Shadows

--bcaec5196fe3ff917504e19a9455--