Am 13.07.2013 10:53, schrieb Simfake Fake: > 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.
AF_BLUETOOTH is only available on Linux and some BSD variants. Windows has different bluetooth stacks. -- http://mail.python.org/mailman/listinfo/python-list