how to send files via bluetooth with python to a mobile

Drex daniel at zelisko.net
Tue Jul 3 19:58:34 CEST 2007


Hi, I tried the example from the site
http://dev.zuckschwerdt.org/openobex/wiki/ObexFtpExampleClientPython

but I am getting the following error:

 /home/daniel/projekty/_moje/python/send_txt_to_mobile.py
Traceback (most recent call last):
 File "/home/daniel/projekty/_moje/python/send_txt_to_mobile.py", line
5, in
devs = cli.discover();
 File "/usr/local/lib/python2.5/site-packages/obexftp/__init__.py",
line 37, in
__getattr__ = lambda self, name: _swig_getattr(self, client, name)
 File "/usr/local/lib/python2.5/site-packages/obexftp/__init__.py",
line 21, in _swig_getattr
raise AttributeError,name
AttributeError: discover

on this line:
devs = cli.discover()

any idea what might cause it?

thanks in advance
dz




More information about the Python-list mailing list