《python cookbook》怎么样


本文摘自php中文网,作者(*-*)浩,侵删。

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

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

pythoncook.jpg

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

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

项目说明

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

当前文档生成托管在 readthedocs 上

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

使用了python官方文档主题 sphinx-rtd-theme ,也是默认的主题default.

书中所有代码均在python 3.4版本下面运行通过,所有源码放在cookbook包下面

1

2

3

4

5

6

7

# 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 cookbook》怎么样的详细内容,更多文章请关注木庄网络博客!!

相关阅读 >>

Python怎么计算

Python为什么有tcl

Python如何示例爬虫代码

安装Python时没有scripts文件夹如何处理

Python怎么爬取ajax

Python实现爬取微博热搜存入mysql

Python之requests模块的使用方法详解

一文搞懂filter过滤器的使用

Python如何处理表格?

Python实现购物车的简单实例分享

更多相关阅读请进入《Python》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...