Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hanxiaomax/pyhtmlmaker


https://github.com/hanxiaomax/pyhtmlmaker

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

##使用python+pyh生成html的例子

###配置环境及运行
1.安装

- [pip](https://pypi.python.org/pypi/pip)
- virtualenv

`pip install virtualenv`

- pyh
- pyh无法从pip直接安装,请至[此处下载](https://github.com/hanxiaomax/pyh)并运行`python setup.py install`
- [pyh包wiki](https://github.com/hanxiaomax/pyh/wiki)

2.创建虚拟环境并切换

```
virtualenv ENV
source ENV/bin/activate
```

对于windows系统
```
virtualenv ENV
source ENV/Scripts/activate
```

3.运行demo

```
python demo.py
```