On 5/10/12 10:51:42, Luca Sanna wrote: > from bluetooth import *
[......] > luca@luca-XPS-M1330:~/py-temperature/py-temperature$ python bluetooth.py When you say "from bluetooth import *", Python will find a file name "bluetooth.py" and import stuff from that file. Since your script happens to be named "bluetooth.py", Python will import your script, thinking it is a module. > it's a bug of the module? You've chosen the wrong file name. Rename your script. Hope this helps, -- HansM -- http://mail.python.org/mailman/listinfo/python-list