python菜单及其功能_适用于任务栏(Win)和菜单栏(mac)功能的跨平台Python GUI?...

1586010002-jmsa.png

I am fairly new to Python programming, and completely new to cross-platform GUI building (only previous GUI experience is through visual basic and Java).

I've written some python code to screen-scrape data from a website, and now I want to build a GUI that will reside in the Mac OS X menubar, and in Window's task bar (i.e., the system tray).

The most useful general page on cross-plaform Python GUIs for me was this one (despite its name indication Window GUIs). And some stackoverflow questions came in useful as well (especially this one, and the accepted answer of this one about splitting up the GUI and cli code).

I think I will go for either wxPython or QT because I want the GUI to look as native as possible.

However, as I've said the fairly simple GUI will mainly live in the taskbar/menubar.

Should this influence my decision?

解决方案

See this related SO answer on how to accomplish Windows system tray/OS X menu bar functionality in wxPython.