属于c2c网站的有哪几个,青海网页设计与网站建设,包头seo营销公司,免费logo设计在线设计在2010年的Pycon大会上有一个presentation on cross-platform Python development。还有一个关于它的html页面#xff0c;其中包含一些跨平台通知的建议。但是#xff0c;我在网上找不到它了#xff0c;但我保存了一个本地副本#xff0c;这是关于通知的部分#xff1a;Th…在2010年的Pycon大会上有一个presentation on cross-platform Python development。还有一个关于它的html页面其中包含一些跨平台通知的建议。但是我在网上找不到它了但我保存了一个本地副本这是关于通知的部分There are occasions in which your application wants to notify the userabout something: software updates are available, a new instant messagehave been received, the 300 page print job has finally finished, etc.To keep notifications easy to port cross-platform, dont makethem interactive. For example Ubuntu does not support notificationsthat require user interaction.These are the most important libraries:o Linux: pynotify.o Mac OS X: Growl, which is not standard, is usuallyinstalled.o Windows: a good wxPython solution is ToasterBox of AndreaGavana, which mimics the look of Firefox or Thunderbird notifications.For Phatch we developed a library that unifies these threesystems in one API: phatch/lib/notify.py.链接的python文件非常有趣我认为您应该能够像现在这样使用链接的python文件。代码也非常清楚所以您将很快看到它的作用。最基本的方法是检测哪些通知系统可用几乎与平台无关并尝试按特定顺序使用它们但如果需要可以返回到更简单的系统。这样如果用户安装了例如Growl的软件不管平台是什么它都会使用它。您可以对其进行调整以便为上述三种通知系统之外的其他通知系统提供支持。