Python Forum

Full Version: Email Notification
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi
i am new in this forum and python
how to set code in python that can help me to verify file (txt or xls) item by item (if qte-reel <= stock-min), send email notification to designated personne email as alert.

Thanks
1. Open the file
2. read line by line
3. make comparisons and decision
4. send an email.

Depending on file (e.g. for xl* file)you may need to use third-party packages (see this recent thread). For notification - either create/code it yourself or use third party package for notifications (e.g. notifiers)

apart from this general advise, you will need to post your code and ask specific questions