Py之Kivy:Python库之Kivy的简介、安装、使用方法之详细攻略

Kivy的简介

      Kivy是一套基于Python编写的类似安卓界面风格的界面库。它支持Windows、Linux、Android和MacOS四大主流平台绝大部分操作系统,而且界面风格能够在多平台之间保持一致。使用简单,支持GPU加速,有flash般的动画效果,使程序员只需要简单的几行代码即可写作炫丽的界面。  Kivy是一个社区项目,由专业的软件开发人员引导。kivy.org负责Kivy的软件开发和社区用户支持。他们也为使用Kivy的企业和个人客户工作。
Kivy - Open source Python library for rapid development of applications that make use of innovative user interfaces, such as multi-touch apps.

Kivy的安装

Install kivy:
python -m pip install kivy
(Optionally) Install the kivy examples:
python -m pip install kivy_examples
Py之Kivy:Python库之Kivy的简介、安装、使用方法之详细攻略
Py之Kivy:Python库之Kivy的简介、安装、使用方法之详细攻略

Kivy Download

Kivy的使用方法

The examples are installed in the share directory under the root directory where python is installed.
That’s it. You should now be able to import kivy in python or run a basic example if you installed the kivy examples:
python share\kivy-examples\demo\showcase\main.py