Python Forum

Full Version: running python script showing an icon in the tray notification area
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i have a python script running on version 3.7.3, i want to run the script in the background but showing an icon in the tray notification area in windows 10. Could someone point me to the right direction or shared a current script to do this? thanks in advanced

PS. The purpose is to see the program in the tray notification area while having the cmd windows closed.
I found a way and tested and this works.

infi.systray

The page includes installation (simple) and a sample/test program. If you use that you will need to change the print statement - the test was in Python 2, so just put parentheses around the "Hello World" and it will work fine.

My test -
Windows 10 64 bit
Python 3.85
VSCode under Anaconda