Reply
Thread Tools
Posts: 12 | Thanked: 1 time | Joined on Sep 2009
#1
Hi there,

right now I'm trying to get the own bluetooth mac on the n810 via python and console. One chance would be the content of /var/lib/bluetooth

Solution:
Code:
>>> from subprocess import Popen, PIPE
>>> print Popen(["ls", "/var/lib/bluetooth"], stdout=PIPE).communicate()[0]
Reading the manual and register that 'cmd' != 'args' solved the problem ARGH!

Last edited by TheTall1; 2010-03-08 at 08:09. Reason: Lets present the solution
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:07.