使用plyer和qpython

时间:2016-02-11 15:54:59

标签: qpython

很抱歉,如果这太明显了,但我在Android上的qpython下尝试以下内容:

from plyer import notification
notification.notify("something","else")

我收到以下结尾的错误:

NotImplementedError: No usable implementation found!

我错过了什么?

1 个答案:

答案 0 :(得分:0)

notify必须传递几个参数,这里有一个如何使用它的例子:

Dim rDynamic As Range
Dim rMax As Range
Dim rMin As Range

Set rDynamic = Me.Range("A1")
Set rMax = Me.Range("B1")
Set rMin = Me.Range("C1")

If Not Intersect(Target, rDynamic) Is Nothing Then
    If rDynamic.Value < rMin.Value Then rMin.Value = rDynamic.Value
    If rDynamic.Value > rMax.Value Then rMax.Value = rDynamic.Value
End If

希望这有帮助