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
  How to stop system tray Icons from grouping together phpjunkie 0 196 Apr-07-2025, 05:49 AM
Last Post: phpjunkie
  Running script from remote to server invisiblemind 4 614 Mar-28-2025, 07:57 AM
Last Post: buran
  Detect if another copy of a script is running from within the script gw1500se 4 1,054 Jan-31-2025, 11:30 PM
Last Post: Skaperen
  Accessing item in the system tray on Windows 11 mariox 0 610 Aug-22-2024, 05:11 PM
Last Post: mariox
  Error Calculating Circle Area in Python aaronramsdale 1 951 Jun-04-2024, 07:57 AM
Last Post: Pedroski55
  No Internet connection when running a Python script basil_555 8 3,078 Mar-11-2024, 11:02 AM
Last Post: snippsat
Question Running Python script through Task Scheduler? Winfried 8 5,690 Mar-10-2024, 07:24 PM
Last Post: Winfried
  Sound Sensor With EMail Notification parascand 1 1,036 Dec-10-2023, 03:10 AM
Last Post: deanhystad
  Help Running Python Script in Mac OS emojistickers 0 918 Nov-20-2023, 01:58 PM
Last Post: emojistickers
  Trying to make a board with turtle, nothing happens when running script Quascia 3 1,692 Nov-01-2023, 03:11 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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