![]() |
2010-05-14
, 08:31
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#2
|
The Following User Says Thank You to qwerty12 For This Useful Post: | ||
![]() |
2010-05-14
, 08:52
|
Posts: 20 |
Thanked: 16 times |
Joined on Jan 2010
@ Norway
|
#3
|
import dbus bus=dbus.SystemBus() icd2_obj = bus.get_object('com.nokia.icd2', '/com/nokia/icd2') icd2_iface = dbus.Interface(icd2_obj, 'com.nokia.icd2') icd2_iface.disconnect_req(dbus.UInt32(32768))
The Following User Says Thank You to rcastberg For This Useful Post: | ||
I am trying to disconnect from the internet using python.
I found that the following following code works from the console:
Last edited by rcastberg; 2010-05-14 at 08:52. Reason: Changed the subject to include solved