python3-cookbook README

The project's README from github.com/yidao620c/python3-cookbook. As one markdown file: README.md.

GitHub issues License Github downloads GitHub release

Python Cookbook 3rd Edition 中文翻译

Python Cookbook 3rd Edition 中文版正式发布啦 ^_^! —— 2017/12/07

在线阅读地址:http://python3-cookbook.readthedocs.org/zh_CN/latest/

最新版(3.0.0)下载

关于作者 David Beazley

本书作者是 David Beazley 大神,一位独立的计算机科学家、教育家,以及有着 35 年开发经验的软件开发者。 他在 Python 社区一直都很活跃,编写了很多的 Python 包, 发表了很多的公开演讲视频 以及 编程教程。 同时还是 Python Essential Reference 以及 Python Cookbook (O'Reilly Media) 的作者。

David Beazley 大神的博客地址:http://www.dabeaz.com/

译者的话

人生苦短,我用 Python!

译者一直坚持使用 Python 3,因为它代表了 Python 的未来。虽然向后兼容是它的硬伤,但是这个局面迟早会改变的, 而且 Python 3 的未来需要每个人的帮助和支持。 目前市面上的教程书籍,网上的手册大部分基本都是 2.x 系列的,专门基于 3.x 系列的书籍少得可怜。

最近看到一本 Python Cookbook 3rd Edition,完全基于 Python 3,写的也很不错。 为了 Python 3 的普及,我也不自量力,想做点什么事情。于是乎,就有了翻译这本书的冲动了! 这不是一项轻松的工作,却是一件值得做的工作:不仅方便了别人,而且对自己的翻译能力也是一种锻炼和提升。

译者会坚持对自己每一句的翻译负责,力求高质量。但受能力限制,也难免有疏漏或者表意不当的地方。 如果译文中有什么错漏的地方请大家见谅,也欢迎大家随时指正。

目前已经正式完成了整本书的翻译工作,历时2年,不管怎样还是坚持下来了。现在共享给 Python 社区。

欢迎关注我的个人公众号“飞污熊”,我会定期分享一些自己的 Python 学习笔记和心得。

公众号

项目说明

# 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

其他贡献者

排名不分先后:

  1. Yu Longjun (https://github.com/yulongjun)
  2. tylinux (https://github.com/tylinux)
  3. Kevin Guan (https://github.com/K-Guan)
  4. littlezz (https://github.com/littlezz)
  5. cclauss (https://github.com/cclauss)
  6. Yan Zhang (https://github.com/Eskibear)
  7. xiuyanduan (https://github.com/xiuyanduan)
  8. FPlust (https://github.com/fplust)
  9. lambdaplus (https://github.com/lambdaplus)
  10. Tony Yang ([email protected])

更多贡献者


关于源码生成 PDF 文件

有网友提问怎样通过源码生成 PDF 文件,由于这个步骤介绍有点长,不适合放在 README 中,我专门写了篇博客专门介绍怎样通过 Read the Docs 托管文档,怎样自己生成 PDF 文件,大家可以参考一下。

https://www.xncoding.com/2017/01/22/fullstack/readthedoc.html

另外关于生成的 PDF 文件中会自动生成标题编号的问题,有热心网友 CarlKing5019 提出了解决方案, 请参考 issues#108。

再次感谢每一位贡献者。


How to Contribute

You are welcome to contribute to the project as follow

Meanwhile you'd better follow the rules below

License

(The Apache License)

Copyright (c) 2014-2018 Xiong Neng and other contributors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

python3-cookbook (yidao620c/python3-cookbook)

Searching Database…

这是什么?这是 David Beazley 所著《Python Cookbook》第三版的中文译本,是一本收录了大量 Python 3 实用技巧的书,涵盖真实世界中的编程问题。
这是一本书还是代码库?这是一本以 reStructuredText 文档形式呈现的译著,书中所有示例代码都包含在名为 'cookbook' 的软件包中,供参考使用。
我在哪里可以阅读?本书托管在 Read the Docs 上可以在线阅读,同时也提供简体和繁体中文 PDF 版本供下载。
跟着学习需要先安装 Python 3 吗?需要,书中所有代码示例都已在 Python 3.6 下测试并运行通过。
这是官方译本吗?不是,这是由一位译者和若干贡献者发起的社区/爱好者翻译项目,并非官方授权发布,译者用两年时间志愿完成了这项工作。
我怎样自己从源文件生成 PDF?译者专门写了一篇博客文章,说明如何从 Read the Docs 的源文件生成 PDF,因为这些步骤较长,不适合写在 README 中。
Creator
yidao620c
Size
4.6 MB
Stars
12K
Age
12y
Commits · 90 Days