Learning Python, 5th Edition
Powerful Object-Oriented Programming
Publisher: O'Reilly Media
Final Release Date: June 2013
Pages: 1648

Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on author Mark Lutz’s popular training course, this updated fifth edition will help you quickly write efficient, high-quality code with Python. It’s an ideal way to begin, whether you’re new to programming or a professional developer versed in other languages.

Complete with quizzes, exercises, and helpful illustrations, this easy-to-follow, self-paced tutorial gets you started with both Python 2.7 and 3.3— the latest releases in the 3.X and 2.X lines—plus all other releases in common use today. You’ll also learn some advanced language features that recently have become more common in Python code.

  • Explore Python’s major built-in object types such as numbers, lists, and dictionaries
  • Create and process objects with Python statements, and learn Python’s general syntax model
  • Use functions to avoid code redundancy and package code for reuse
  • Organize statements, functions, and other tools into larger components with modules
  • Dive into classes: Python’s object-oriented programming tool for structuring code
  • Write large programs with Python’s exception-handling model and development tools
  • Learn advanced Python tools, including decorators, descriptors, metaclasses, and Unicode processing
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyLearning Python, 5th Edition
 
3.9

(based on 31 reviews)

Ratings Distribution

  • 5 Stars

     

    (12)

  • 4 Stars

     

    (13)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (3)

  • 1 Stars

     

    (3)

80%

of respondents would recommend this to a friend.

Pros

  • Helpful examples (20)
  • Well-written (18)
  • Easy to understand (17)
  • Accurate (16)
  • Concise (8)

Cons

  • Repetitive (3)

Best Uses

  • Intermediate (19)
  • Novice (18)
  • Student (18)
  • Expert (10)
    • Reviewer Profile:
    • Developer (16), Designer (6), Sys admin (6), Maker (4), Educator (3)

Reviewed by 31 customers

Displaying reviews 1-10

Back to top

Previous | Next »

 
5.0

Must-read for some

By Bitten

from Europe

About Me Designer, Developer

Pros

  • Accurate
  • Built-in Exercises
  • Concise
  • Easy English
  • Easy to understand
  • Helpful examples
  • Repetitions
  • Well-written

Cons

  • Minor Ebook Format Issue

Best Uses

  • Intermediate
  • Student

Comments about oreilly Learning Python, 5th Edition:

This book is brilliant if your goal is to understand Python. If you just want to use Python, then Google and StackOverflow will do.

I had used Python prior to reading that book and it was OK. But now I can fully enjoy it, and I no longer ask myself questions "why this way?".

 
5.0

Landed job

By MAth_bazooka

from san jose,CA

About Me Developer

Verified Reviewer

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Expert
    • Intermediate
    • Novice
    • Student

    Comments about oreilly Learning Python, 5th Edition:

    What else can i write
    it helped me in landing job.

    Using with emacs will make you love programming.

     
    5.0

    Not only a intro book

    By partsiartsi

    from finland

    About Me Developer, Sys Admin

    Pros

    • Accurate
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Expert
      • Intermediate
      • Novice
      • Student

      Comments about oreilly Learning Python, 5th Edition:

      This is not a
      a) short intro book to get you going
      b) cookbook/reference to libs with examples

      So what is it? It is a comprehensive and detailed book on all of the features of python language itself. The book is long, and if you must learn the basics (and this isn't your first language), prepare to skip (it works). However, the detail and accuracy is superb, and I have used this book several times to check some details on Python which were hard to find online.

       
      4.0

      A thorough way to learn Python

      By PatCraft

      from Adelaide, South Australia

      About Me Developer

      Verified Buyer

      Pros

      • Accurate
      • Helpful examples
      • Well-written

      Cons

      • Too Much Detail - Basics

      Best Uses

      • Expert
      • Intermediate
      • Novice
      • Student

      Comments about oreilly Learning Python, 5th Edition:

      Used to learn Python from scratch, as my main reference resource, to the extent I knew enough to gain employment writing Python code. The subject content can jump around a bit - you need to look in several sections, but overall a robust and effective conduit for learning Python

      (2 of 2 customers found this review helpful)

       
      5.0

      The best programming book I so far read!

      By Lucifer

      from Amsterdam

      About Me Developer

      Verified Reviewer

      Pros

      • Accurate
      • Both Python 2x And 3x
      • Concise
      • Easy to understand
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Expert
        • Intermediate
        • Novice
        • Student

        Comments about oreilly Learning Python, 5th Edition:

        This book is by far the best programming book I ever read, and so far I read a lot of programming books.

        It took me a little over a year, to finish this book and yet I remember the majority of what I've read. This due to the way the author has setup this book it repeats stuff over and over that it kind of gets hard coded in your brain.

        This book is very suitable for people new to programming as well as experts, it's accurate, concise, well written, easy to understand has very good examples and the author has some great humor. This book doesn't just only cover the Python syntax, but it also teaches you the Python concepts.

        Another great pro about this book is that it covers both Python 2.X and Python 3.X. So you get to see both of the worlds. The author often explains the differences between those two, by doing so you get a much beter understanding of the way how Python is setup in general.

        I wouldn't recommend this book to people, who need to learn Python in matter of week. This book is suited for the people who want to master Python thoroughly.

        (1 of 1 customers found this review helpful)

         
        4.0

        Mixed feelings

        By Edelman

        from Moscow

        About Me Developer

        Verified Reviewer

        Pros

        • Easy to understand
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Novice
          • Student

          Comments about oreilly Learning Python, 5th Edition:

          It's a great book for those who are completely new to programming, other than that you'll find it extremely long and boring.

          (1 of 1 customers found this review helpful)

           
          4.0

          A complete reference

          By Tom

          from Montreal, Quebec, Canada

          About Me Developer

          Verified Buyer

          Pros

          • Accurate
          • Well-written

          Cons

            Best Uses

            • Intermediate
            • Novice
            • Student

            Comments about oreilly Learning Python, 5th Edition:

            I strongly recommend this book for those who want to learn Python throughoutly not only for mastering the language syntax of Python but also for understanding the concepts of Python.

            (1 of 1 customers found this review helpful)

             
            5.0

            Excellent book with a well-considered structure

            By Chris

            from Oxfordshire

            About Me Rresearcher

            Verified Buyer

            Pros

            • Accurate
            • Easy to understand
            • Helpful examples
            • Well-written

            Cons

              Best Uses

              • Expert
              • Intermediate
              • Novice

              Comments about oreilly Learning Python, 5th Edition:

              This is a superb and comprehensive book, but not easy to carry around given its size. However O'Reilly do allow an upgrade, to purchase the book in electronic form. So I keep that on my laptop, and in parallel with the excellent search capabilities of Adobe Reader, I can quickly solve any python queries. The electronic version is also in colour, which is a nice touch.

              (14 of 18 customers found this review helpful)

               
              1.0

              2 Years later.. Still best used as a weapon or a surfboard..

              By two_years_older_monty

              from San Jose, CA

              About Me Developer

              Verified Reviewer

              Pros

              • Easy to understand

              Cons

                Best Uses

                  Comments about oreilly Learning Python, 5th Edition:

                  I have been owning this book for 2 years now.. I never managed to reach the end of it..

                  I have read many big books, but the problem with this book is not just the page count, but the unbearable redundancy.. It reaches a level where you eventually just want to throw the book out of a window (God forbid, that might cause mass destruction)..

                  Sometimes, to explain a trivial concept (like explaining what an object is), it might take many pages of re-phrased paragraphs making the reader fall into deep sleep and sometimes deep depression..

                  If you want to quickly learn Python, just read the "hard way" series.. simple, and to the point tutorials, and it has even more details than this book (despite its size, it has a very little details of some major topics like regular expressions for example)..

                  Please if you insist to try reading this book, get the ebook first, not the hard copy.

                  I am already a Python programmer, but I give up finishing learning python!

                  (6 of 7 customers found this review helpful)

                   
                  2.0

                  not focusing on concepts

                  By Pierluigi

                  from Bern

                  Verified Reviewer

                  Pros

                  • Accurate
                  • Authoritative

                  Cons

                  • Repetitive
                  • Verbose

                  Best Uses

                    Comments about oreilly Learning Python, 5th Edition:

                    The author is very knowledgeable, but a) he doesn't focuses on concepts, and goes too much into details without really explaining you the essence b) way too verbose c) way too repetitive

                    I found that most post on stackoverflow explain Python concepts much better than this book... I am really sorry I have wasted so much time on it....

                    Displaying reviews 1-10

                    Back to top

                    Previous | Next »

                     
                    Buy 2 Get 1 Free Free Shipping Guarantee
                    Buying Options
                    Immediate Access - Go Digital what's this?
                    Ebook:  $54.99
                    Formats:  DAISY, ePub, Mobi, PDF
                    Print & Ebook:  $71.49
                    Print:  $64.99