python cookbook 中文在线_《Python Cookbook》第三版中文版
软件简介
人生苦短,我用 python!
我一直坚持使用 python3,因为它代表了python的未来。虽然向后兼容是它的硬伤,但是这个局面迟早会改变的,
而且python3的未来需要每个人的帮助和支持。 目前市面上的教程书籍,网上的手册大部分基本都是2.x系列的,专门基于3.x系列的书籍少的可怜。
最近看到一本《Python Cookbook》3rd Edition,完全基于python3,写的也很不错。
为了python3的普及,我也不自量力,想做点什么事情。于是乎,就有了翻译这本书的冲动了!
这不是一项轻松的工作,却是一件值得做的工作:不仅方便了别人,而且对自己翻译能力也是一种锻炼和提升。
目前已经正式完成了整本书的翻译工作,共享给了python社区。
在线阅读地址和最新版(3.0.0)PDF文件下载在项目主页上面有详细说明。
项目说明
所有文档均使用reStructuredText编辑,参考 reStructuredText
使用了python官方文档主题 sphinx-rtd-theme ,也是默认的主题default.
书中所有代码均在python 3.4版本下面运行通过,所有源码放在cookbook包下面
on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org
on_rtd = os.environ.get(‘READTHEDOCS’, None) == ‘True’
if not on_rtd: # only import and set the theme if we’re building docs locally
import sphinx_rtd_theme
html_theme = ‘sphinx_rtd_theme’
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
otherwise, readthedocs.org uses their theme by default, so no need to specify it
软件简介 人生苦短,我用 python! 我一直坚持使用 python3,因为它代表了python的未来。虽然向后兼容是它的硬伤,但是这个局面迟早会改变的, 而且python3的未来需要每个人的帮助和支持。 目前市面上的教程书籍,网上的手册大部分基本都是2.x系列的,专门基于3.x系列的书籍少的可怜。 最近看到一本《Python Cookbook》3rd Edition,完全基于python3,写的也很不错。 为了python3的普及,我也不自量力,想做点什么事情。于是乎,就有了翻译这本书的冲动了! 这不是一项轻松的工作,却是一件值得做的工作:不仅方便了别人,而且对自己翻译能力也是一种锻炼和提升。 目前已经正式完成了整本书的翻译工作,共享给了python社区。 在线阅读地址和最新版(3.0.0)PDF文件下载在项目主页上面有详细说明。 项目说明 所有文档均使用reStructuredText编辑,参考 reStructuredText 使用了python官方文档主题 sphinx-rtd-theme ,也是默认的主题default. 书中所有代码均在python 3.4版本下面运行通过,所有源码放在cookbook包下面 on_rtd is whether we are on readthedocs.org, this line of code grabbed from docs.readthedocs.org on_rtd = os.environ.get(‘READTHEDOCS’, None) == ‘True’ if not on_rtd: # only import and set the theme if we’re building docs locally import sphinx_rtd_theme html_theme = ‘sphinx_rtd_theme’ html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] otherwise, readthedocs.org uses their theme by default, so no need to specify it