File: test.py

package info (click to toggle)
vvmd 1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 828 kB
  • sloc: ansic: 7,815; cpp: 138; xml: 86; sh: 38; python: 6; makefile: 4
file content (10 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
import pydbus
import gi.repository
from pydbus import SessionBus
from gi.repository import GLib
bus = SessionBus()

TestServer = bus.get("org.kop316.vvm", "/org/kop316/vvm/modemmanager")
#TestServer.ChangeSettings("DefaultModemNumber", GLib.Variant('s', "+379879"))
#TestServer.GetMessages()