Rumah  >  Artikel  >  pembangunan bahagian belakang  >  《python cookbook》怎么样

《python cookbook》怎么样

(*-*)浩
(*-*)浩asal
2019-05-23 14:35:394348semak imbas

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

《python cookbook》怎么样

《Python Cookbook》3rd Edition,完全基于python3,写的也很不错。

pythoncook.jpg

本书介绍了应用在各个领域的技巧和方法,涵盖了很多高级主题:元编程、网络、web编程、实用脚本、系统管理、C语言拓展等。

本书还覆盖了许多python日常开发中的问题以及解决方案,在实际开发中的编程技巧,告诉你python如何工作并且为什么工作(带你了解python的工作原理和流程)!

项目说明

所有文档均使用reStructuredText编辑,参考 reStructuredText

当前文档生成托管在 readthedocs 上

生成的文档预览地址: python3-cookbook

使用了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

Atas ialah kandungan terperinci 《python cookbook》怎么样. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!

Kenyataan:
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn