I created a python script that will automatically deliver birthday or anniversary messages to my friends or relatives on their special occasion.
Firstly update and add the important dates in data.xlsx file.
- notification from plyer:
for showing pop up reminder notifications - smtplib:
for sending emails - pywhatkit:
for sending whatsapp messages - other inbuilt libraries need to be imported:
pandas, numpy, datetime, time, os
- Using Task scheduler the python script
bday.pyrun automatically every midnight and check if there is any important date. - If it is so, then a
notification reminderwill pop up showing that to whom it will be going to wish. - After that, whatsapp web will open and message will be sent to that person.
- If email id of that person is also present in the data excel sheet then a wish message is also sent via an email.