python的启动:有环境变量 直接启动; 没有配置环境变量 cd G:\python test\Python27中启动
pychart图表尝试:
1、python 配置环境变量 set查看path
2、下载 pychart http://home.gna.org/pychart/
3、进入pychart目录 使用python安装 "python setup.py install".
4、导入验证 不报错 >>> import pychart >>>
5 安装Ghostscript
Q: Does pychart support Windows? Yes. But you need to install Python and Ghostscript beforehand. For example, for personal use, use without redistribution, and use with no technical support the GNU Affero Public License (AGPL) download is your choice.6.测试
python linetest.py --output=dzhline.pdf
7.彩色图片
from pychart import * theme.get_options() theme.use_color = 1 theme.reinitialize()
8.生成pdf