Windows 10 Toast Notifications
1.0.0
Windows GUI 개발에 유용한 Windows 10 토스트 알림을 표시하기위한 사용하기 쉬운 파이썬 라이브러리.
pip install win10toast
pypiwin32
setuptools
from win10toast import ToastNotifier
toaster = ToastNotifier()
toaster.show_toast("Hello World!!!",
"Python is 10 seconds awsm!",
icon_path="custom.ico",
duration=10)
toaster.show_toast("Example two",
"This notification is in it's own thread!",
icon_path=None,
duration=5,
threaded=True)
# Wait for threaded notification to finish
while toaster.notification_active(): time.sleep(0.1)