Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Python in a Nutshell

    Python in a Nutshell

    Alex Martelli, Anna Ravenscroft, Steve Holden · 2002

    This volume offers Python programmers a straightforward guide to the important tools and modules of this open source language. It deals with the most frequently used parts of the standard library as well as the most popular and important third party extensions.

    ProgrammingComputer Science
    Open LibraryAmazon
    Stats for nerds
    9recommend
    23mentions
    17people
    2008–2024years
    57% recommend39% neutral4% critical

    Mentions per year

    200820102012201420162018202020222024

    What Hacker News says

    1. drallisonAug 2017
      https://www.mooc-list.com/tags/python has a list.

      Do you mean Udacity rather than Audacity?

      Personally, I would read the reference manual, the library manual (a MUST), write some programs, and read some other people's programs. Python is a simple language.

      Reading other people's programs is a good way to apprentice when learning a new language. The Python Cookbook(s) and the 3rd edition of Python in a Nutshell make good reading.

      Python comes in two variations these days: Python2 and Python3. Python3 would be the best choice for a new learner.

      thread
    2. gbogDec 2013
      I got started with my current language of choice from a book I bought almost randomly at a book fair. This book is a reference of the language but is written in such a clear and precise language, showing a deep love for the language and great craftsmanship. Like you would certainly fall in love with the heroin of a novel you love, I fell in love with... python. The book was Python in a Nutshell, by Alex Martelli.
      thread
    3. gbogMay 2013
      Martelli's Python in a nutshell is the best I have seen on python. Not a cookbook, more of a reference, but this guy is extremely precise and rereading is always deepening my understanding of python.
      thread
    4. gbogNov 2011
      > At least JavaScript doesn't have typed catches. Holy black mother of darkness, that shit is intolerable.

      I would like the author to expand a bit instead. In python there are typed catches, it seems to make a lot of sense to me: you catch only the exceptions you want, and let the other ones bubble up. It is well explained in Martelli's Python in a Nutshell.

      I have seen try/catch construct in Java and Javascript, and it is probably less readable, and certainly can be over-used, but in Python, returning None in all exceptional cases is annoying, different issues got merged into a single "Muted" case.

      thread
    5. gbogNov 2011
      Agree with your points. Would add emphasis on ipython and heavy use of interpreter, pylint instead of pyflakes, "learn and prefer builtin modules" rule, and Python in a Nutshell on the desk.
      thread
    6. serialxApr 2011
      Python in a Nutshell, O'Reilly Media, written by Alex Martelli http://oreilly.com/catalog/9780596100469/

      Definitely recommended for learning Python fast&practically. It's the most comprehensive and useful Python reference book for programmers I've ever encountered.

      thread

    Related

    Cover of Python Cookbook
    2008–2024

    Python Cookbook

    Alex Martelli
    17 recommend · 39
    Cover of Dive into Python
    2008–2026

    Dive into Python

    Mark Pilgrim
    94 recommend · 185
    Cover of Learning Python
    2007–2026

    Learning Python

    Mark Lutz
    26 recommend · 49
    Cover of Computer lib
    2008–2026

    Computer lib

    Ted Nelson
    10 recommend · 41
    Cover of Code Complete
    2007–2026

    Code Complete

    Steve McConnell
    393 recommend · 894
    Cover of The Hitchhiker’s Guide To Python
    2012–2023

    The Hitchhiker’s Guide To Python

    Kenneth Reitz
    26 recommend · 28
    Cover of The art of computer programming
    2007–2026

    The art of computer programming

    Donald Knuth
    336 recommend · 1,799
    Cover of Learn Python the Hard Way
    2010–2026

    Learn Python the Hard Way

    Zed Shaw
    246 recommend · 489