LoginSignup
191
166

More than 5 years have passed since last update.

くっそ使えるpython/jupyterで通知機能を使おう! notify.run

Last updated at Posted at 2018-11-25

概要

機械学習なり、重い処理を用意してそれを実行してすることはpythonを使っていると割と良くあります。こんなときに、通知が携帯に飛んでくれたらと思うことはあると思います。

それを簡単にやってくれるのがnotifyです。

notify

https://notify.run/
このページに行きましょう。すぐに使い方はわかります。

といっても、これじゃ記事の意味ないので解説も載せます。

使い方

install

pip install notify-run

使う

from notify_run import Notify
notify = Notify()
notify.register() # jupyterで実行するとinline上にQRコードが出てきます。スマホで読みましょう
notify.send('Hello notify!') # スマホにHello notify!と通知が届くはず…
191
166
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
191
166