Quick and easy: trayicon with python?

前端 未结 9 1883
一生所求
一生所求 2020-11-28 03:27

I\'d just need a quick example on how to easily put an icon with python on my systray. This means: I run the program, no window shows up, just a tray icon (I\'ve got a png f

9条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 03:31

    An alternative if you are trying to run a python based program in the background you can run it as a service. Check out this active state recipe its pretty useful. I believe one of the options is to convert your application to exe with py2exe or pyinstall.

    http://code.activestate.com/recipes/551780/

提交回复
热议问题