A Python module to interact with the Windows tray.
Project description
pytray
A Python module to interact with the Windows tray.
Installation
From PyPI
pip3 install ptray
From GitHub
pip3 install git+https://github.com/donno2048/pytray
Usage
Here is a simple example:
import pytray, time, os
pytray.create_tray_element()
pytray.add_icon()
i = 0
while True:
time.sleep(.1)
pytray.set_icon(os.path.abspath(f"cat\\{i}.ico"))
i = (i + 1) % 5
In the future, I will add more features you can see in main.py.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ptray-1.0.0.tar.gz
(3.9 kB
view hashes)