Python Forum
running python script showing an icon in the tray notification area
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
running python script showing an icon in the tray notification area
#1
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.
Reply
#2
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
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  No Internet connection when running a Python script basil_555 8 442 Mar-11-2024, 11:02 AM
Last Post: snippsat
Question Running Python script through Task Scheduler? Winfried 8 335 Mar-10-2024, 07:24 PM
Last Post: Winfried
  Sound Sensor With EMail Notification parascand 1 437 Dec-10-2023, 03:10 AM
Last Post: deanhystad
  Help Running Python Script in Mac OS emojistickers 0 306 Nov-20-2023, 01:58 PM
Last Post: emojistickers
  Trying to make a board with turtle, nothing happens when running script Quascia 3 607 Nov-01-2023, 03:11 PM
Last Post: deanhystad
  Is there a *.bat DOS batch script to *.py Python Script converter? pstein 3 3,004 Jun-29-2023, 11:57 AM
Last Post: gologica
  Python script running under windows over nssm.exe JaroslavZ 0 671 May-12-2023, 09:22 AM
Last Post: JaroslavZ
  Running script with subprocess in another directory paul18fr 1 3,476 Jan-20-2023, 02:33 PM
Last Post: paul18fr
  Error notification after encoding robertje1024 1 1,163 May-29-2022, 04:18 PM
Last Post: Axel_Erfurt
  file icons have Firefox icon Ricvourn 4 1,404 Mar-31-2022, 11:40 PM
Last Post: Ricvourn

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020