Python note 900 - other Posted on 2017-02-13 Edited on 2021-08-01 In Development ConfigParser UsageExample: 1234conf_file = 'conf.ini'conf_parser = ConfigParser.ConfigParser()conf_parser.read(conf_file)conf = {key: value for key, value in conf_parser.items(section_name)} Read more »
使用 Sphinx 生成 PDF 文件 Posted on 2013-01-27 Edited on 2019-03-17 In software 简介本文主要说明如何通过使用 Sphinx 把 reStructuredText (或者 markdown )生成 PDF 文件。 Sphinx 是一个可以把一系列 reStructuredText 格式文档转换为多种不同格式文档的工具。它具有自动解决交叉引用和编制目录等功能。 Sphinx 支持 html 、 LaTeX 、 ePub 等多种输出格式。现在 Sphinx 已支持 Markdown 格式的源文件。 Read more »