alejandro wrote: > So I installed the module and tryed to make it work but... > It gave me: > > Traceback (most recent call last): > File "first.py", line 24, in <module> > client2.connect() > File "C:\Python25\lib\PyOBEX\client.py", line 359, in connect > return Client.connect(self, header_list = [headers.Target(uuid)]) > File "C:\Python25\lib\PyOBEX\client.py", line 119, in connect > self.socket = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_STREAM, > AttributeError: 'module' object has no attribute 'AF_BLUETOOTH'>>> Exit > Code: 1 > > > This module asks the socket module for AF_BLUETOOTH... in the socket > module there is no such thing as AF_BLUETOOTH. Could it be that the person > that made PyOBEX modified his socket module and forgot to give his socket > module? Or am I missing something? Maybe AF_BLUETOOTH stands for something > that a programmer would know but I am a beginner so... > > Is there a OBEX module for Python on windows?
AF_BLUETOOTH seems to be specific to *nix-systems. At least under debian and ubuntu, I've got it defined. So it seems it is not supported under windows - you should consider the author if that's a mistake, or by design. Diez -- http://mail.python.org/mailman/listinfo/python-list