人工智能4
Posted on
人工智能3
Posted on
人工智能2
Posted on
人工智能1
Posted on
开关app,terminal上网
Posted on
Use terminal to open and close application or file
What the heck, a new world!
Very simple, so first of all, if we want to open a application
1 | open -a applicationname |
Hell no, how to close
1 | osascript -e 'quit app "Atom"'#osascript -e 'quit app "Applicationname"' |
用terminal玩转web browser
1 | You’ll want to install the main w3m package and the w3m-img package if you want inline image support. Use the following command on Ubuntu: |
使用
1 | w3m 网址 |
python400集10
Posted on
python400集9
Posted on
python400集8
Posted on
python400集7
Posted on
Edited on
GUI 图形用户界面编程
常用的 GUI 库
\1. Tkinter
tkinter(Tk interface)是 Python 的标准 GUI 库,支持跨
平台的 GUI 程序开发。tkinter 适合小型的 GUI 程序编写, 也特别适合初学者学习 GUI 编程。本书以 tkinter 为核心进 行讲解。
\2. wxPython
wxPython 是比较流行的 GUI 库,适合大型应用程序开发, 功能强于 tkinter,整体设计框架类似于 MFC(Microsoft Foundation Classes 微软基础类库)。
\3. PyQT
Qt 是一种开源的 GUI 库,适合大型 GUI 程序开发,PyQT
是 Qt 工具包标准的 Python 实现。我们也可以使用 Qt Desginer 界面设计器快速开发 GUI 应用程序。