I have written this code:
from plyer import notification
import time
def notifier():
while True:
notification.notify(
title="Take a break",
message="""It's been 20 minutes
Take a break
Take care of your eyes
""",
app_icon=r"C:\Users\DELL\PycharmProjects\myprojects\icon.ico",
timeout=10
)
time.sleep(20*60)
if __name__ == "__main__":
notifier()
Every time I run this it's showing:
Could not load icon C:\Users\DELL\PycharmProjects\myprojects\icon.ico
icon.ico
in that specific path