Sponsored
Used - Good
$10.40
$3.99 delivery Saturday, May 2
Ships from: HPB-Red
Sold by: HPB-Red
$10.40
Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! See less
$3.99 delivery Saturday, May 2. Details
Only 1 left in stock - order soon.
$$10.40 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$10.40
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by HPB-Red.
$8.00
Paperback Book in VERY GOOD Condition. Cover has minimal wear, marks, cuts, creases and bumped corners. Binding has minor wear, cuts, bends, pealing and crushes. Pages have typical tears, bumps, nicks and folds, as well as minor highlighting, writing, smudges and marks. Paperback Book in VERY GOOD Condition. Cover has minimal wear, marks, cuts, creases and bumped corners. Binding has minor wear, cuts, bends, pealing and crushes. Pages have typical tears, bumps, nicks and folds, as well as minor highlighting, writing, smudges and marks. See less
$6.44 delivery Tuesday, May 5. Details
In stock
$$10.40 () Includes selected options. Includes initial monthly payment and selected options. Details
Price
Subtotal
$$10.40
Subtotal
Initial payment breakdown
Shipping cost, delivery date, and order total (including tax) shown at checkout.
Access codes and supplements are not guaranteed with used items.
Ships from and sold by Trillion Books & Media.
Added to

Sorry, there was a problem.

There was an error retrieving your Wish Lists. Please try again.

Sorry, there was a problem.

List unavailable.
Kindle app logo image

Download the free Kindle app and start reading Kindle books instantly on your smartphone, tablet, or computer - no Kindle device required.

Read instantly on your browser with Kindle for Web.

Using your mobile phone camera - scan the code below and download the Kindle app.

QR code to download the Kindle App

  • Fluent Python: Clear, Concise, and Effective Programming

Follow the author

Get new release updates & improved recommendations
Something went wrong. Please try your request again later.

Fluent Python: Clear, Concise, and Effective Programming 1st Edition

4.7 out of 5 stars (784)

{"desktop_buybox_group_1":[{"displayPrice":"$10.40","priceAmount":10.40,"currencySymbol":"$","integerValue":"10","decimalSeparator":".","fractionalValue":"40","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"M%2FoIDnHjFunhIfJGkhvwGzpq%2BSItVMJvVo%2Fyj2NlV%2FI0hHPKVWxU2fmIiNzwoblIwy6M1clZp0efGDjG5iOfhz63vXrlIFfxexKuvJPZm0dBqXFXD8JpTB6f5NVcuIoaCpKRkRFOgFj%2BHhaiJrVlnXMvk4nH%2FkuS4A8ZsTQfoVT4HUR%2FLKy9mWKLJE%2Bh9Nzr","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":0}, {"displayPrice":"$8.00","priceAmount":8.00,"currencySymbol":"$","integerValue":"8","decimalSeparator":".","fractionalValue":"00","symbolPosition":"left","hasSpace":false,"showFractionalPartIfEmpty":true,"offerListingId":"M%2FoIDnHjFunhIfJGkhvwGzpq%2BSItVMJvNVZSdMd8b8O5kU7ImOLmDmO8gT68yL6%2FIW6c9Bd%2F5Z6Aq1X%2Bd%2BBrQPZsrXh5jMqq%2BWT2Z60KjSkRM1zdvXfQ%2BzdzWA6JgUy%2FZvyibnpkdHNDju315Uai3oHHXi%2BS5K%2BP8dykEhOX7WMYqmwdzc7H4g%3D%3D","locale":"en-US","buyingOptionType":"USED","aapiBuyingOptionIndex":1}]}

Purchase options and add-ons

Pythonâ??s simplicity lets you become productive quickly, but this often means you arenâ??t using everything it has to offer. With this hands-on guide, youâ??ll learn how to write effective, idiomatic Python code by leveraging its bestâ??and possibly most neglectedâ??features. Author Luciano Ramalho takes you through Pythonâ??s core language features and libraries, and shows you how to make your code shorter, faster, and more readable at the same time.

Many experienced programmers try to bend Python to fit patterns they learned from other languages, and never discover Python features outside of their experience. With this book, those Python programmers will thoroughly learn how to become proficient in Python 3.

This book covers:

  • Python data model: understand how special methods are the key to the consistent behavior of objects
  • Data structures: take full advantage of built-in types, and understand the text vs bytes duality in the Unicode age
  • Functions as objects: view Python functions as first-class objects, and understand how this affects popular design patterns
  • Object-oriented idioms: build classes by learning about references, mutability, interfaces, operator overloading, and multiple inheritance
  • Control flow: leverage context managers, generators, coroutines, and concurrency with the concurrent.futures and asyncio packages
  • Metaprogramming: understand how properties, attribute descriptors, class decorators, and metaclasses work

There is a newer edition of this item:

Sponsored

Customers also bought or read

Loading...

From the brand


From the Publisher

Fluent Python

From The Preface

An experienced programmer may start writing useful Python code in a matter of hours. As the first productive hours become weeks and months, a lot of developers go on writing Python code with a very strong accent carried from languages learned before. Even if Python is your first language, often in academia and in introductory books it is presented while carefully avoiding language-specific features.

As a teacher introducing Python to programmers experienced in other languages, I see another problem that this book tries to address: we only miss stuff we know about. Coming from another language, anyone may guess that Python supports regular expressions, and look that up in the docs. But if you’ve never seen tuple unpacking or descriptors before, you will probably not search for them, and may end up not using those features just because they are specific to Python.

This book is not an A-to-Z exhaustive reference of Python. Its emphasis is on the language features that are either unique to Python or not found in many other popular languages. This is also mostly a book about the core language and some of its libraries. I will rarely talk about packages that are not in the standard library, even though the Python package index now lists more than 60,000 libraries and many of them are incredibly useful.

Who This Book Is For

This book was written for practicing Python programmers who want to become proficient in Python 3. If you know Python 2 but are willing to migrate to Python 3.4 or later, you should be fine. At the time of this writing, the majority of professional Python programmers are using Python 2, so I took special care to highlight Python 3 features that may be new to that audience.

However, Fluent Python is about making the most of Python 3.4, and I do not spell out the fixes needed to make the code work in earlier versions. Most examples should run in Python 2.7 with little or no changes, but in some cases, backporting would require significant rewriting.

Having said that, I believe this book may be useful even if you must stick with Python 2.7, because the core concepts are still the same. Python 3 is not a new language, and most differences can be learned in an afternoon. What’s New in Python 3.0 is a good starting point. Of course, there have been changes since Python 3.0 was released in 2009, but none as important as those in 3.0.

If you are not sure whether you know enough Python to follow along, review the topics of the official Python Tutorial. Topics covered in the tutorial will not be explained here, except for some features that are new in Python 3.

Who This Book Is Not For

If you are just learning Python, this book is going to be hard to follow. Not only that, if you read it too early in your Python journey, it may give you the impression that every Python script should leverage special methods and metaprogramming tricks. Premature abstraction is as bad as premature optimization.

Editorial Reviews

From the Author

Who This Book Is For
This book was written for
practicing Python programmers who want to become proficient in Python 3. If you know Python 2 but are willing to migrate to Python 3.4 or later, you should be fine. [...]

If you are not sure whether you know enough Python to follow along, review the topics of the official Python Tutorial. Topics covered in the tutorial will not be explained here, except for some features that are new in Python 3.

Who This Book Is Not For
If you are just learning Python, this book is going to be hard to follow. Not only that, if you read it too early in your Python journey, it may give you the impression that every Python script should leverage special methods and metaprogramming tricks. Premature abstraction is as bad as premature optimization.

(extracted from the Preface, page xvi, emphasis added)

About the Author

Luciano Ramalho was a Web developer before the Netscape IPO in 1995, and switched from Perl to Java to Python in 1998. Since then he worked on some of the largest news portals in Brazil using Python, and taught Python web development in the Brazilian media, banking and government sectors. His speaking credentials include PyCon US (2013), OSCON (2002, 2013), and 15 talks over the years at PythonBrasil (the Brazilian PyCon) and FISL (the largest FLOSS conference in the Southern Hemisphere). Ramalho is a member of the Python Software Foundation and co-founder of Garoa Hacker Clube, the first hackerspace in Brazil. He is co-owner of Python.pro.br, atraining company.

Product details

  • Publisher ‏ : ‎ O'Reilly Media
  • Publication date ‏ : ‎ September 15, 2015
  • Edition ‏ : ‎ 1st
  • Language ‏ : ‎ English
  • Print length ‏ : ‎ 790 pages
  • ISBN-10 ‏ : ‎ 1491946008
  • ISBN-13 ‏ : ‎ 978-1491946008
  • Item Weight ‏ : ‎ 2.68 pounds
  • Dimensions ‏ : ‎ 7 x 1.5 x 9.5 inches
  • Part of series ‏ : ‎ Learning Python
  • Best Sellers Rank: #217,334 in Books (See Top 100 in Books)
  • Customer Reviews:
    4.7 out of 5 stars (784)

About the author

Follow authors to get new release updates, plus improved recommendations.
Luciano Ramalho
Brief content visible, double tap to read full content.
Full content visible, double tap to read brief content.

Luciano Ramalho was a Web developer before the Netscape IPO in 1995, and switched from Perl to Python in 1998. He has presented talks at PyCon US, OSCON, QCon, PythonBrasil, PyCon DE etc. Ramalho is a fellow of the Python Software Foundation and co-founder of Garoa Hacker Clube, the first hackerspace in Brazil. He is a Principal Consultant at Thoughtworks.

Sponsored

Customer reviews

4.7 out of 5 stars
784 global ratings
Sponsored

Customers say

Customers find this Python book excellent, with deep knowledge of advanced topics and easy-to-read prose. The book is well-written and covers many language features, making it suitable for experienced programmers. While customers appreciate its comprehensive coverage of advanced Python topics, they note it is not suitable for beginners.
AI Generated from the text of customer reviews

Select to learn more

70 customers mention content, 69 positive, 1 negative
Customers praise the content of the book, describing it as the best Python book and a great advanced-level resource.
Great book.Read more
Best Python book, after you got all the basics.Read more
Excellent book.Read more
Sounds like this is a good book that I have read from other reviewers....Read more
47 customers mention informative, 43 positive, 4 negative
Customers find the book informative, with deep knowledge of Python advanced topics and good explanations, making it an amazing overview for experienced programmers.
...It even gave informative background and explanations at the end of each chapter....Read more
Amazing overview of a wide range of Python topics....Read more
Advanced programmers will want this. Well-written and useful.Read more
...programmer, and I am so far finding this book both readable and highly informative....Read more
31 customers mention readability, 27 positive, 4 negative
Customers find the book easy to read and concise, with one customer noting it's an excellent read for anyone.
Well written, easy to understand and with clear and concise explanations on how and why x does y, in addition to the inclusion of some internal...Read more
...It's a pretty thick book, yet concise and well-written. It goes into plenty of detail, so it's great for experts and novices alike....Read more
Excellent read. A great intermediate to advanced python book, with few titles offering the same level and depth into the language specifics....Read more
...It's a pleasure to read, and I found that reading it in byte-sized sessions while commuting made a big impact on my Python fluencyRead more
22 customers mention writing style, 21 positive, 1 negative
Customers appreciate the writing style of the book, describing it as well written and straightforward, with one customer noting it provides clear descriptions.
Well written, easy to understand and with clear and concise explanations on how and why x does y, in addition to the inclusion of some internal...Read more
...It's a pretty thick book, yet concise and well-written. It goes into plenty of detail, so it's great for experts and novices alike....Read more
I study this book and I enjoy it's content as well as its prose....Read more
...This is very well written and hits all the key topics.Read more
16 customers mention language understanding, 15 positive, 1 negative
Customers appreciate the book's deep understanding of the language, with one customer noting how it minimizes syntax and another highlighting its comprehensive coverage of features.
...one that gets to some of the Python magic that makes it such an incredible language. Work through each example....Read more
Author has a deep understanding of the language and is a gifted instructor....Read more
...I also love the fact that he is not so dogmatic about the programming language and often compares various features to other languages to explain...Read more
The book is well written, clear, includes examples, author clearly knows the language very well and the way he talks about it shows how the...Read more
15 customers mention coverage, 13 positive, 2 negative
Customers appreciate the comprehensive coverage of the book, which includes advanced Python topics, with one customer noting that it covers 90 percent of the language.
Amazing overview of a wide range of Python topics....Read more
...This is very well written and hits all the key topics.Read more
...This book essentially saves you that time and effort - it presents many aspects of Python that are hard to grasp and explains them, gifting you a...Read more
...This book touches on a very wide selection of subjects, from some pretty common Python concepts, like Duck Typing, generators, and function and...Read more
10 customers mention programming, 10 positive, 0 negative
Customers find the book helpful for improving their programming skills, particularly in meta programming, with one customer noting it's great for those who already program in Python.
...like abstract base classes, multiple inheritance, mixins, and meta programming. The prose is easy to read and even entertaining....Read more
This book is great if you already program in Python and want to learn how to make the best use of the language's built-in features that are not...Read more
...sampling of procedural and idiomatic nuances that is accessible by intermediate programmers. Well worth the money.Read more
Started out easy then blew my mind with concurrency and meta programing. A good read despite the length.Read more
16 customers mention suitable for beginners, 6 positive, 10 negative
Customers disagree on whether the book is suitable for beginners, with some noting it is intended for intermediate to advanced users.
...This book is certainly not for beginners but it is enjoyable to work with if you are familiar with the language to take your expertise to the next...Read more
Started out easy then blew my mind with concurrency and meta programing. A good read despite the length.Read more
...This is not a book for beginners. It assumes a fair bit of knowledge....Read more
...to either programming or Python, I would say this is not a great beginner book because it covers more advanced features....Read more
Python In Fluency..
5 out of 5 stars
Python In Fluency..
Definitely big book with full of deep Knowledge of Python Advanced topics. Highly recommend for those like me who are looking to improve their Python skills from a Systems Engineer to Software Engineer grade.
Thank you for your feedback
Sorry, there was an error
Sorry we couldn't load the review

Top reviews from the United States

  • Reviewed in the United States on March 22, 2016
    Format: PaperbackVerified Purchase
    As the title and description suggest, this book truly is to achieve 'fluency' in Python. It touches on nearly every point of the language that is pythonic, describing not just the how and the what, but the why. This book is definitely not a good beginner book for Python (however, someone extremely well versed in Java or C++ could probably benefit from it, if they relied on more basic information from alternative sources), but I wouldn't say it's only for expert users. This book touches on a very wide selection of subjects, from some pretty common Python concepts, like Duck Typing, generators, and function and class decorators to more advanced subjects like abstract base classes, multiple inheritance, mixins, and meta programming. The prose is easy to read and even entertaining. It may be the first programming book I read for enjoyment, and not just reference.

    Luciano demonstrates that he truly is fluent in Python, and while probably 25% of the chapters were not on any subject that is useful to me, all of them yielded new information and helpful hints, and even tips and tricks to increase performance or readability of the code. I would think that, given the wide range of topics, at least 30% of the book will be extremely helpful to your specific use case, regardless of what that is.
    95 people found this helpful
    Report
  • Reviewed in the United States on September 29, 2021
    Format: PaperbackVerified Purchase
    I am an engineer who decided to learn how to code on my own. I experimented with a bunch of different languages but fell in love with Python. I now use Python for personal projects. I was watching a YouTube video where Gina Häußge (creator of octoprint) recommended it and attributed her work to things learned in the book. So I bought it hoping to better my skills.

    I read this book in chapter chunks, as there is a TON of information to gain from this book. I love the structure that Ramalho uses. He provides well written descriptions and explanations for each topic(something I cannot say for most textbooks). On top of that, he provides relevant code examples for almost everything he covers. Even better, he has step-by-step explanations for the code examples that follow the execution flow. This makes it much easier to understand if you have difficulty grasping the concept at first. Aside from coding the examples yourself, this is top notch for learning skills from text.

    For me, I was reading this book while working on a medium sized Python project. Even though I was not searching for anything specific in this book, the more I read, the more I found ways where I could implement his teachings into my project.

    Ramalho includes a section at the end of each chapter to offer his opinion on said topic. As a younger programmer, I appreciated the opinion from a professional and clearly well respected member of the Python community.

    If you write Python and want to gain a better understanding of the language (and perhaps found the Python docs hard to read like me), this book is for you. If you do give it a read, I hope you like it as much as I did.

    Thanks Luciano, excellent work!
    7 people found this helpful
    Report
  • Reviewed in the United States on January 2, 2016
    Format: PaperbackVerified Purchase
    Fluent Python is a great book and Luciano Ramalho is an excellent author. Ramalho has a casual writing style which makes it feel like you are not reading a programming book. At the end of each chapter he has a section called "Further Reading" and "Soapbox". Further reading contains tons of relevant references and links. Soapbox provides lots of valuable information about the language you would not find in other books.

    An example is in one "Soapbox" he explains how Python is competing with Ruby and Javascript for being a general purpose dynamic language. He also mentions Go and Elixir are languages that could be a threat to Python in the future, and explains why. These high level explanations filled in a lot of knowledge gaps I had on how Python compares with other languages.

    The book is for intermediate to advanced users. He dives into the details of the CPython implementation; that's exactly what I was looking for. Buy this book if you want to take your Python programming to the next level.
    4 people found this helpful
    Report
  • Reviewed in the United States on December 22, 2020
    Format: PaperbackVerified Purchase
    The book is well written, clear, includes examples, author clearly knows the language very well and the way he talks about it shows how the programmer should be thinking. However, some syntax is slightly outdated, this is mostly harmless except for the chapter on asyncio, in which the module's interface has been integrated into the language with new "async/await" keywords. The author does make a note that at the time of writing the PEP that eventually introduced this chance was close to acceptance. Conceptually it is the same but the examples are not so relevant to how asyncio code is written in newer versions of Python.
    4 people found this helpful
    Report
  • Reviewed in the United States on December 21, 2019
    Format: PaperbackVerified Purchase
    I have been using Python for a few years mostly as a scripting language. As I have gained proficiency I wanted to dive deeper into best practices and a bit more under-the-covers. I found some good resources online for studying Python internals but that was not helping me write better code.

    This book is exactly what I was looking for. It covers the aspects of Python that are not obvious to people coming from different languages. It gives guidance on the best ways to use features and why they work the way they do. It touches on details of Python internals where they illuminate the behavior and choices a Python programmer might make but you won't get bogged down in Python byte code.

    This is not a book for beginners. It assumes a fair bit of knowledge. A beginner will want a wider coverage of topics and not get buried in details. (I really like "Learning Python" by Mark Luft and still go back to that from time to time.) This is for the Python programmer leveling-up. That is where I found myself and I am pretty confident this will help me get there.
    6 people found this helpful
    Report

Top reviews from other countries

Translate all reviews to English
  • Tahitibob35
    5.0 out of 5 stars Très technique
    Reviewed in France on October 12, 2015
    Format: PaperbackVerified Purchase
    Je n'ai pas lu 100 pages, mais le contenu est très technique.
    Permet de d'apprendre les subtilités du langage.
    Je recommande, pour ceux veulent approfondir leur technique.
    Report
  • Toon
    3.0 out of 5 stars A bit slow but with interesting topics covered
    Reviewed in the Netherlands on April 15, 2017
    Could be less verbose. It was a bit of a long sliw read. Still though were the topics well covered and did I learn pretty cool preculiar things.
  • Denis Vivies
    5.0 out of 5 stars Denis V
    Reviewed in Spain on August 21, 2017
    Format: PaperbackVerified Purchase
    A big book (I mean, your nightstand better be solid) with advanced technics in Python. Not recommended for the beginner, it's still focused on the standard library but that's enough. Obviously, I haven't finished reading it yet but from the first chapter alone you learn a lot of stuff.
  • S. Stevenson
    5.0 out of 5 stars This should be your second book on Python
    Reviewed in Germany on February 15, 2018
    Format: PaperbackVerified Purchase
    So you've got the basics down in Python, what do you read now? This book. "Fluent Python" tells you which constructs to use and, almost more importantly, why. The big difference to "Effective Python" by Slatkin is that this book is in-depth and explains what happens behind the code - I have found the insights into how Python works under the hood invaluable. This is a book for people who really want to master the language, not just get somewhat better quickly. It takes quite some time to work through "Fluent Python", but it is time very well spent.

    If there is anything I didn't really like about "Fluent Python", it is the priority given to object-orientated programming. If you are one of those people who think that OOP has basically failed its promise, there are whole chapters that will make you grit your teeth. There is a discussion of why modern Python has better tools for functional programming than the classic map and reduce, but this is definitely a book from the OOP camp.
  • Amr
    1.0 out of 5 stars Failed to return item
    Reviewed in the United Arab Emirates on February 24, 2021
    Format: PaperbackVerified Purchase
    Failed to return item