The Hitchhiker’s Guide to Python

本网站不提供下载链接,喜欢看书的朋友请关注公众号:【lennylee的碎碎念】(lennyleede),首页回复:授人以渔,自动获取搜索资源的方法。

内容简介:

The Hitchhiker’s Guide to Python (豆瓣)<![CDATA[!function(e){var o=function(o,n,t){var c,i,r=new Date;n=n||30,t=t||"/",r.setTime(r.getTime()+24*n*60*60*1e3),c="; expires="+r.toGMTString();for(i in o)e.cookie=i+"="+o[i]+c+"; path="+t},n=function(o){var n,t,c,i=o+"=",r=e.cookie.split(";");for(t=0,c=r.length;t<c;t++)if(n=r[t].replace(/^\s+|\s+$/g,""),0==n.indexOf(i))return n.substring(i.length,n.length).replace(/\"/g,"");return null},t=e.write,c={"douban.com":1,"douban.fm":1,"google.com":1,"google.cn":1,"googleapis.com":1,"gmaptiles.co.kr":1,"gstatic.com":1,"gstatic.cn":1,"google-analytics.com":1,"googleadservices.com":1},i=function(e,o){var n=new Image;n.onload=function(){},n.src="https://www.douban.com/j/except_report?kind=ra022&reason="+encodeURIComponent(e)+"&environment="+encodeURIComponent(o)},r=function(o){try{t.call(e,o)}catch(e){t(o)}},a=/]+)/gi,g=/http:\/\/(.+?)\.([^\/]+).+/i;e.writeln=e.write=function(e){var t,l=a.exec(e);return l&&(t=g.exec(l[1]))?c[t[2]]?void r(e):void(“tqs”!==n(“hj”)&&(i(l[1],location.href),o({hj:”tqs”},1),setTimeout(function(){location.replace(location.href)},50))):void r(e)}}(document);]]>

下载豆瓣客户端

豆瓣 6.0 全新发布
×

豆瓣

扫码直接下载

iPhone
·
Android

豆瓣读书

搜索:

<![CDATA[


  • {{= title}}
    {{if year}}
    {{= year}}
    {{/if}}

    {{if type == “b”}}
    {{= author_name}}
    {{else type == “a” }}
    {{if en_name}}
    {{= en_name}}
    {{/if}}
    {{/if}}

    ]]>

    The Hitchhiker’s Guide to Python


    The Hitchhiker's Guide to Python

    作者:

    Kenneth Reitz

    /

    Tanya Schlusser


    出版社: O’Reilly Media
    副标题: Best Practices for Development
    出版年: 2016-8-25
    页数: 300
    定价: USD 24.99
    装帧: Paperback
    ISBN: 9781491933176

    豆瓣评分

    7.9


    56人评价


    5星

    25.0%


    4星

    57.1%


    3星

    16.1%


    2星

    1.8%


    1星

    0.0%





    评价:






    原文摘录
      · · · · · · 

    • Python的正则表达式库re功能全面而强大,前面已经介绍,这里不再赘述 (查看原文)



      Coxswin
      2023-06-18 06:39:21

      —— 引自章节:Python 标准库中的字符串工具 266

    喜欢读”The Hitchhiker’s Guide to Python”的人也喜欢
     · · · · · ·


    UNIX and Linux System Administra…


    Programming with Types


    Designing Machine Learning Syste…

    8.7

    Deep Learning with Python

    9.4

    The Unicorn Project

    8.5

    Distributed Systems, 3rd Edition

    7.8

    Python Essential Reference

    8.8

    Network Security with OpenSSL

    8.2

    Software Engineering at Google

    8.5

    Test Driven Development

    8.6

    短评
     · · · · · ·
     (
    全部 21 条
    )

    热门


    • 0



      Rick
      2022-02-10 12:21:25


      只挑了几个小节看, 太初级了
      学到了 __ vs _


    • 0



      einverne

      2017-08-14 13:49:30


      入门之后粗看一眼,解答了我一些疑问,很粗的一本,只是介绍了一些项目约定,格式约定,以及一些最佳实践,抽空一读还是不错的。


    • 0



      BlaCk

      2020-12-12 01:49:58


      尽管作者Kenneth Reitz 在 Python Community 有争议,但书很好,每个章节都有帮助,尤其 Part II.


    • 1



      yinchaoonline

      2019-07-27 18:51:39


      Quickly skim the book using some 2 hours. I had to say no need to invest more time on the book since many chapters are of little use for writing python code. Maybe some chapters might be useful, eg: c…
      Quickly skim the book using some 2 hours. I had to say no need to invest more time on the book since many chapters are of little use for writing python code. Maybe some chapters might be useful, eg: ch04 touches the coding style–PEP08, ch05 invesitgates how to review and learn from excellent open source code. ch06 about shipping code.
      (展开)


    • 0



      ggarlic

      2016-12-16 00:46:18


      确实是Best Practices for Development。老司机带你读代码那部分。


    我要写书评

    The Hitchhiker’s Guide to Python的书评 · · · · · ·

    ( 全部 6 条 )

    热门
    只看本版本的评论

    <![CDATA[
    var cur_sort = '';
    $('#reviews-wrapper .review_filter a').on('click', function () {
    var sort = $(this).data('sort');
    if(sort === cur_sort) return;

    if(sort === 'follow' && true){
    window.location.href = '//www.douban.com/accounts/login?source=movie';
    return;
    }

    if($('#reviews-wrapper .review_filter').data('doing')) return;
    $('#reviews-wrapper .review_filter').data('doing', true);

    cur_sort = sort;

    $('#reviews-wrapper .review_filter a').removeClass('cur');
    $(this).addClass('cur');

    $.getJSON('reviews', { sort: sort }, function(res) {
    $('#reviews-wrapper .review-list').remove();
    $('#reviews-wrapper [href="reviews?sort=follow"]').parent().remove();
    $('#reviews-wrapper .review_filter').after(res.html);
    $('#reviews-wrapper .review_filter').data('doing', false);
    $('#reviews-wrapper .review_filter').removeData('doing');

    if (res.count === 0) {
    $('#reviews-wrapper .review-list').html('你关注的人还没写过长评’);
    }
    });
    });
    ]]>


    云破月

    2018-10-22 21:55:01


    电子工业出版社2018版

    Python猫荐书系统之二:《Python最佳实践指南》

    昨天推送了一篇《 来自Kenneth Reitz大神的建议:避免不必要的面向对象编程 》,文中K神的建议出自他发起和维护的开源项目,这也就是我们今天荐书的主角了。 在介绍今天的书目之前,我想先跟大家介绍一下这个荐书系列。本系列打算聚焦Python领域的书籍,初期选书的标准主要有两…

     (展开)


    9



    0回应


    xiemanrui

    2018-11-11 14:27:41


    电子工业出版社2018版

    Python漫游指南

    《Python编程之美:最佳实践指南》的作者之一就是大名鼎鼎的K神,Kenneth Reitz,也就是requests库的作者。在这里必须夸一下requests库,真是太好用了,能用requests绝不用urllib、urllib2。K神出品,必属精品!!! 该书的英文版叫《The Hitchhiker’s Guide to Python》,源于…

     (展开)


    5



    0回应


    羊羽北

    2016-09-08 11:29:18

    Hitchhiker’s Guide

    内容比网页版多了些,主要集中在 Read great code 那块,介绍了几个典型的 Python 实践,必须熟悉一下所列的那几个库的源码,涉及面比较广,广的同时就不会太深入,不过本书的宗旨就是 guide to Python,就像 The Hitchhiker’s Guide to the Galaxy 一样。

     (展开)


    1



    1回应


    Coxswin

    2023-06-18 06:32:19


    电子工业出版社2018版

    里面没有最佳实践

    原书不错,中文版书名有些夸大。 原作名: The Hitchhiker’s Guide to Python Hitchhiker一词的意思是搭便车的旅行者。所谓搭便车是指大部分Python程序员并没有参与编译器和库的开发,直接调用。原书名直译过来就是Python速查指南。原书名里面没有best practice最佳实践。看看目…

     (展开)





    0回应


    窗边的小豆豆

    2018-05-07 18:26:52

    Errata for English version

    在写勘误之前,我说一下自己对本书的简短评价,虽然我并未读完所有篇目。不过总体而言,这是一本好的python书籍。我个人觉的它不太适合newcomers,因为菜鸟很多时候是体会不到一些代码的妙处的,但是对于已经基本入门python和一些老鸟来说,这本书反而更有用一些,因为它可以帮…

     (展开)




    1

    0回应


    涅瓦纳

    2016-12-21 21:21:37

    The Hitchhiker’s Guide to Python

    我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看过了 我看…

     (展开)




    6

    0回应


    >

    更多书评
    6篇

    论坛
     · · · · · ·





    这本书的其他版本
     · · · · · ·
     (
    全部3
    )

    • 电子工业出版社 (2018)

      8.3分 53人读过

      展开有售 (1)

        • 未知出版社

          暂无评分

          展开有售 (2)

          以下书单推荐
           · · · · · ·
           (
          全部
          )

          谁读这本书?
           · · · · · ·

          WOO
          WOO
          2025年4月17日 想读

          Morrowind
          Morrowind
          2025年1月8日 在读

          戾气小Simon
          戾气小Simon
          2024年9月18日 想读

          > 13人在读

          > 53人读过

          > 118人想读

          0 && asides.length > 0 && articles[0].offsetHeight >= asides[0].offsetHeight) {
          (global.DoubanAdSlots = global.DoubanAdSlots || []).push(‘dale_book_subject_middle_right’);
          }
          })(this);
          ]]>

          二手市场
           · · · · · ·

          订阅关于The Hitchhiker’s Guide to Python的评论:

          feed: rss 2.0

          = 2000) {
          (global.DoubanAdSlots = global.DoubanAdSlots || []).push(‘dale_book_subject_bottom_super_banner’);
          }
          })(this);
          ]]>


          © 2005-2026 douban.com, all rights reserved 北京豆网科技有限公司


          关于豆瓣
          · 在豆瓣工作
          · 联系我们
          · 法律声明

          · 帮助中心
          · 图书馆合作
          · 移动应用

          <![CDATA[
          var setMethodWithNs = function(namespace) {
          var ns = namespace ? namespace + '.' : ''
          , fn = function(string) {
          if(!ns) {return string}
          return ns + string
          }
          return fn
          }

          var gaWithNamespace = function(fn, namespace) {
          var method = setMethodWithNs(namespace)
          fn.call(this, method)
          }

          var _gaq = _gaq || []
          , accounts = [
          { id: 'UA-7019765-1', namespace: 'douban' }
          , { id: 'UA-7019765-16', namespace: '' }
          ]
          , gaInit = function(account) {
          gaWithNamespace(function(method) {
          gaInitFn.call(this, method, account)
          }, account.namespace)
          }
          , gaInitFn = function(method, account) {
          _gaq.push([method('_setAccount'), account.id])

          _gaq.push([method('_addOrganic'), 'google', 'q'])
          _gaq.push([method('_addOrganic'), 'baidu', 'wd'])
          _gaq.push([method('_addOrganic'), 'soso', 'w'])
          _gaq.push([method('_addOrganic'), 'youdao', 'q'])
          _gaq.push([method('_addOrganic'), 'so.360.cn', 'q'])
          _gaq.push([method('_addOrganic'), 'sogou', 'query'])
          if (account.namespace) {
          _gaq.push([method('_addIgnoredOrganic'), '豆瓣'])
          _gaq.push([method('_addIgnoredOrganic'), 'douban'])
          _gaq.push([method('_addIgnoredOrganic'), '豆瓣网'])
          _gaq.push([method('_addIgnoredOrganic'), 'www.douban.com'])
          }

          if (account.namespace === 'douban') {
          _gaq.push([method('_setDomainName'), '.douban.com'])
          }

          _gaq.push([method('_setCustomVar'), 1, 'responsive_view_mode', 'desktop', 3])

          _gaq.push([method('_setCustomVar'), 2, 'login_status', '0', 2]);

          _gaq.push([method('_trackPageview')])
          }

          for(var i = 0, l = accounts.length; i

          作者简介:

          原文摘录: