0

これが明白すぎる場合は申し訳ありませんが、Androidのqpythonで次のことを試しています:

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

次で終わるエラーが表示されます。

NotImplementedError: No usable implementation found!

私は何が欠けていますか?

4

1 に答える 1

0

notify にはいくつかの引数を渡す必要があります。使用方法の例を次に示します。

from plyer import notification

notification.notify(title="Kivy Notification",message="Plyer Up and Running!",app_name="Waentjies",app_icon="icon.png",timeout=10)

これが役に立ったことを願っています

于 2016-08-22T14:43:44.193 に答える