首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Python > 一个强大的Python模块从Python脚本生成的HTML代码

一个强大的Python模块从Python脚本生成的HTML代码

资 源 简 介

Code your webpage like a GUI! PyH allows you to simply generate HTML pages from within your python code in an object-oriented fashion. Each HTML tag is an object that can be modified at any time. The HTML tags are neatly output so that the sources of your HTML files are human-readable. Check the Wiki for documentation. File bug reports and feature requests at http://launchpad.net/pyh Get PyH Download the latest version of pyh from the Download tab or directly from here PyH-0.1.1.tar.gz ### Quick example ### The following python code snipet from pyh import *page = PyH("My wonderful PyH page")page.addCSS("myStylesheet1.css", "myStylesheet2.css")page.addJS("myJavascript1.js", "myJavascript2.js")page << h1("My big title", cl="center")page << div(cl="myCSSclass1 myCSSclass2", id="m

文 件 列 表

PyH-0.1.1
PKG-INFO
setup.py
pyh.py
VIP VIP
0.266383s