7 lines
131 B
Python
Executable file
7 lines
131 B
Python
Executable file
#!/usr/bin/python
|
|
|
|
import dbus, flimflam
|
|
|
|
flim = flimflam.FlimFlam(dbus.SystemBus())
|
|
|
|
print "System is %s" % flim.GetSystemState()
|