Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!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.183 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.67; '*S*': 0.03; 'url:au': 0.05; 'attribute': 0.07; 'python': 0.11; 'arm.': 0.16; 'module': 0.19; 'trying': 0.19; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'stuff': 0.32; 'run': 0.32; 'url:python': 0.33; 'received:google.com': 0.35; 'similar': 0.36; 'url:org': 0.36; 'url:library': 0.38; 'to:addr:python-list': 0.38; 'skip:& 20': 0.39; 'to:addr:python.org': 0.39; 'eventually': 0.60; 'solve': 0.60; 'url:3': 0.61; 'url:blogspot': 0.65; 'within': 0.65; 'serial': 0.72; 'url:2013': 0.84; 'bluetooth': 0.91; 'robot': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=gMFecvHdeQzd9I2s9yvPEBAh8a3KYAyeJjFjYewa19M=; b=hAUWPGwZlIAS4a4XpEogelGNs2ir7KPfIwRglwbki3gS9NwPa7oxpSFkCuh7Jo+ZBV n2w431SfxpEJYuqK9TzqgacrijrasNaK/PchSGuIqdb77zS1WoF1+RjbaszDj4TVTtgg OJwDZzMnuoVALqBNgDA52wbsZ9gWAiIB/FotPnky4NL2QyyysrMCgRHog1H4d3d6RStO HQ/MhYIptqQsS77lgKYiWEuuJudq7mIgOsXx75F37v6S9vIoNK+3Z62uh3O+iIVdEeso rrLE9pZqm/fPRM9vjC4XnFCSUe715GLAWOUxJ6u30O+Wic9LpzT91rJ5GthTjgWIdb1x 6lQg== MIME-Version: 1.0 X-Received: by 10.58.97.138 with SMTP id ea10mr25685840veb.38.1373705584526; Sat, 13 Jul 2013 01:53:04 -0700 (PDT) Date: Sat, 13 Jul 2013 18:23:04 +0930 Subject: Bluetooth Sockets From: Simfake Fake To: python-list@python.org Content-Type: multipart/alternative; boundary=089e013a2860644a6304e160c10a 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: 35 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373705586 news.xs4all.nl 15916 [2001:888:2000:d::a6]:41385 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50585 --089e013a2860644a6304e160c10a Content-Type: text/plain; charset=UTF-8 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 --089e013a2860644a6304e160c10a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 . The code I h= ave is very similar to that found=C2=A0http://kevindor= an1.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 an= d solve inverse-kinematic stuff for a robot arm.

Regards
Jak_o_Shadows
--089e013a2860644a6304e160c10a--