简短:如何使用按钮制作windows 10通知,或仅使通知可单击?(使用python)
Long:我想在windows 10中发出通知,并且我想在通知弹出时能够单击它。然后单击通知时,它应该执行一个函数。我环顾了很多解决方案,但似乎都不管用。到目前为止,我得到的最好的一个来自“Windows-10-Toast-Notifications”(win10toast),但是经过了Charnelx的修改。 为了安装他的代码,我尝试使用以下方法:
pip install git+https://github.com/Charnelx/Windows-10-Toast-Notifications.git#egg=win10toast
但是,当我尝试安装它时,它似乎不起作用。我正在使用python 3.8.9
我希望有人能帮助我
您可以使用这个名为winrt的python模块
我从中了解到:这个issue
在网上浏览了一段时间后,我偶然发现了这个资源。它提供了单击通知的选项
Link for resources
相关问题 更多 >
编程相关推荐