- 授权协议: MIT
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: http://amol-mandhane.github.io/htmlPy/
- 软件文档: http://htmlpy.readthedocs.org/
软件介绍
htmlPy 是对 PySide 的 QtWebKit 库的 Python 封装。可以用 HTML5 和 CSS3 来开发漂亮的图形界面应用程序。基于 Qt 构建,具备高度可定制以及跨平台支持。兼容 Python2 和 Python3.可用于任何 Python 库和环境,如 django, flask, scipy, virtualenv 等。也可以使用前端框架,如 bootstrap, jQuery, jQuery UI 等。
一个 htmlPy 基本应用包含如下三个组件:
后端:back_end.py
import htmlPy class BackEnd(htmlPy.Object): def __init__(self, app): super(BackEnd, self).__init__() self.app = app @htmlPy.Slot() def say_hello_world(self): self.app.html = u"Hello, world"
GUI: main.py
import htmlPy
from back_end import BackEnd
app = htmlPy.AppGUI(
title=u"Sample application")
app.maximized = True
app.template_path = "."
app.bind(BackEnd(app))
app.template = ("index.html", {})
if __name__ == "__main__":
app.start()前端:index.html
<html> <body> <a href="BackEnd.say_hello_world" data-bind="true"> Click to say "Hello, world" </a> </body> </html>
高效程序员的45个习惯
Venkat Subramaniam、Andy Hunt / 钱安川、郑柯 / 人民邮电出版社 / 2010-01 / 35.00元
“书中‘切身感受’的内容非常有价值——通过它我们可以做到学有所思,思有所悟,悟有所行。” ——Nathaniel T. Schutta,《Ajax基础教程》作者 “此书通过常理和经验,阐述了为什么你应该在项目中使用敏捷方法。最难得的是,这些行之有效的实战经验,竟然从一本书中得到了。” ——Matthew Johnson,软件工程师 十年来,软件行业发生了翻天覆地的变化。敏捷......一起来看看 《高效程序员的45个习惯》 这本书的介绍吧!
