Ubuntu 气泡提示的 python 接口


import pynotify

def sendmessage(title, message):
    pynotify.init("Test")
    notice = pynotify.Notification(title, message)
    notice.show()
    return

你可能感兴趣的:(Ubuntu 气泡提示的 python 接口)