Always think of 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 python3 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.
"Python Cookbook" 3rd Edition, completely based on python3, is also very well written.
This book introduces techniques and methods applied in various fields, covering many advanced topics: metaprogramming, networking, web programming, practical scripts, system management, C language Expansion etc.
This book also covers many problems and solutions in daily python development, programming skills in actual development, and tells you how and why python works (taking you to understand the working principle and process of python)!
Project description
All documents are edited using reStructuredText, refer to reStructuredText
The current document generation is hosted on readthedocs
Generated Document preview address: python3-cookbook
uses the official python document theme sphinx-rtd-theme, which is also the default theme default.
All the codes in the book are run under python 3.4 version. All source code is placed under the cookbook package
# 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
The above is the detailed content of How about 'python cookbook'. For more information, please follow other related articles on the PHP Chinese website!