Jump to content

Python Coding - Alerts And Email Notifications


DaBeach

Recommended Posts

I am playing with Python 2 and developing a few scripts and I have seemed to have hit a wall with the following:

Is it possible to have a python script run in the background on Windows and if an event occurs pop up a notification on the desktop? Anyone know how to do this?

Also, is it possible to send an email from a script in response to an event in a python script?

Link to comment
Share on other sites

Is it possible to have a python script run in the background on Windows and if an event occurs pop up a notification on the desktop? Anyone know how to do this?

I think this would be done via one of the windows message box api calls.

Also, is it possible to send an email from a script in response to an event in a python script?

This is fairly straightforward in python. Read about smtplib.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...