Latest recipes tagged "popup"http://code.activestate.com/recipes/tags/popup/new/2017-04-01T19:27:59-07:00ActiveState Code RecipesTkinter Desktop Notifications or Popups (Python)
2017-04-01T19:27:59-07:00Miguel Martínez Lópezhttp://code.activestate.com/recipes/users/4189907/http://code.activestate.com/recipes/580769-tkinter-desktop-notifications-or-popups/
<p style="color: grey">
Python
recipe 580769
by <a href="/recipes/users/4189907/">Miguel Martínez López</a>
(<a href="/recipes/tags/alert/">alert</a>, <a href="/recipes/tags/easing/">easing</a>, <a href="/recipes/tags/notification/">notification</a>, <a href="/recipes/tags/popup/">popup</a>, <a href="/recipes/tags/tkinter/">tkinter</a>).
Revision 2.
</p>
<p>This trick requires <em>pytweening</em>:</p>
<p><a href="https://pypi.python.org/pypi/PyTweening" rel="nofollow">https://pypi.python.org/pypi/PyTweening</a></p>
<p>Install writing:</p>
<pre class="prettyprint"><code> pip install pytweening
</code></pre>
<p>It shows a notification on one corner of the screen,and gradually the notification disappears using an easing function. By default, it uses a linear easing function.</p>
<p>The class <em>Notification_Manager</em> has the method <em>create_notification</em>, but it also has some convenient methods to create easily some kind of notifications: success, alert, info, warning.</p>
random send mail, sms or popup window (Python)
2013-09-04T19:43:19-07:00peekaahttp://code.activestate.com/recipes/users/2919471/http://code.activestate.com/recipes/578598-random-send-mail-sms-or-popup-window/
<p style="color: grey">
Python
recipe 578598
by <a href="/recipes/users/2919471/">peekaa</a>
(<a href="/recipes/tags/popup/">popup</a>, <a href="/recipes/tags/random/">random</a>, <a href="/recipes/tags/sendmail/">sendmail</a>, <a href="/recipes/tags/sms/">sms</a>).
Revision 4.
</p>
<p>If you need to do something irregularly, randomly during the day, you
often forget. This script gives you mail, sms or popup window indefinitely in
random interval to remind you of doing it. It runs forever. If you want to
send emails, uncomment the row sendMail() and fill variable me, to, smtp,
name, login in function sendMail().</p>