Skip to content
Lingfeng edited this page Apr 21, 2015 · 6 revisions

PyH is a very powerful and compact python module that lets you write HTML content from within your python program. Hard-coding plain HTML into your python code is boring and can make your code completely unreadable. Plus, once you'll have a look at the source of the HTML file, it won't be readable either. PyH gives you a nice solution for all of this. PyH lets you code your web page like a GUI!

Pyh 是一个强大且简约的python模块,你可以使用它在python程序中生成HTML内容。在python代码中手写HTML代码非常乏味并且使代码可读性变得非常糟糕。而且,当你尝试要去看一下HTML源码的时候,可读性同样很差。PyH为这一切提供了非常不错的解决方案。它让你像编写GUI一样编写你的网页。

https://github.com/hanxiaomax/pyh是由google code直接导出自https://code.google.com/p/pyh,并进行了部分修改

点击右侧Page可以查看:

Clone this wiki locally