View Single Post
laasonen's Avatar
Posts: 565 | Thanked: 618 times | Joined on Jun 2010 @ Finland
#61
Originally Posted by JoeM View Post
Forgive my ignorance, but how would I go about executing this code?
Just save the code in file and then run it from x-terminal like this:
Code:
python /path/to/test.py
If you saved it to "Nokia N900":
Code:
python /home/user/MyDocs/test.py
You need python-dbus package to run it. I'm not sure, if you have it anymore, because you removed connlock.

You can install it like this:
Code:
apt-get install python-dbus
And remove like this:
Code:
apt-get remove python-dbus
 

The Following User Says Thank You to laasonen For This Useful Post: