"Python Cookbook" 3rd Chinese version 3.0.0 is officially released^_^! ——2017/12/07
Online reading address: http://python3-cookbook.readthedocs.org/zh_CN/latest/
Download the latest version (3.0.0)
The author of this book is David Beazley, an independent computer scientist, educator, and software developer with 35 years of development experience. He has been active in the Python community, writing many python packages, and publishing many public speaking videos and programming tutorials. He is also the author of Python Essential Reference and Python Cookbook (O'Reilly Media).
David Beazley’s blog address: http://www.dabeaz.com/
Life is short, I use Python!
Translators have always insisted on using Python3 because it represents the future of Python. Although backward compatibility is its flaw, this situation will change sooner or later, and the future of Python 3 needs everyone's help and support. Currently, most of the tutorial books and manuals on the market are from the 2.x series, and there are very few books specifically based on the 3.x series.
Recently I saw a 3rd Edition of "Python Cookbook", which is completely based on Python3 and is also very well written. In order to popularize Python3, I am not overestimating myself and want to do something. Ever since, I had the urge to translate this book! This is not an easy job, but it is worth doing: it not only facilitates others, but also exercises and improves your own translation ability.
The translator will insist on being responsible for every sentence of his translation and strive for high quality. However, due to capacity constraints, it is inevitable that there will be omissions or inappropriate expressions. Please forgive me if there are any errors or omissions in the translation, and you are welcome to correct me at any time.
At present, the translation work of the entire book has been officially completed, which took 2 years. No matter what, I persisted. Now share it with the python community.
Welcome to follow my personal public account "Flying Bear". I will regularly share some of my Python learning notes and experiences.
# 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
In no particular order:
More contributors
Some netizens asked how to generate PDF files through source code. Since the introduction of this step is a bit long, it is not suitable to be placed in the README. I wrote a blog specifically to introduce how to host documents through ReadtheDocs and how to generate PDF files by yourself. You can refer to it.
https://www.xncoding.com/2017/01/22/fullstack/readthedoc.html
In addition, regarding the issue of automatically generating title numbers in the generated PDF files, an enthusiastic netizen CarlKing5019 proposed a solution. Please refer to issues108:
#108
Thanks again to every contributor.
You are welcome to contribute to the project as follow
Meanwhile you'd better follow the rules below
master
branch. develop
branch is more appropriate(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.