• Complain

Luciano Ramalho - Fluent Python: Clear, Concise, and Effective Programming

Here you can read online Luciano Ramalho - Fluent Python: Clear, Concise, and Effective Programming full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: OReilly Media, Inc., genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Luciano Ramalho Fluent Python: Clear, Concise, and Effective Programming
  • Book:
    Fluent Python: Clear, Concise, and Effective Programming
  • Author:
  • Publisher:
    OReilly Media, Inc.
  • Genre:
  • Year:
    2021
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Fluent Python: Clear, Concise, and Effective Programming: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Fluent Python: Clear, Concise, and Effective Programming" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Pythons simplicity lets you become productive quickly, but often this means you arent using everything it has to offer. With the updated edition of this hands-on guide, youll learn how to write effective, modern Python 3 code by leveraging its best ideas.Dont waste time bending Python to fit patterns you learned in other languages. Discover and apply idiomatic Python 3 features beyond your past experience. Author Luciano Ramalho guides you through Pythons core language features and libraries and teaches you how to make your code shorter, faster, and more readable.Featuring major updates throughout the book, Fluent Python, second edition, covers: Special methods: The key to the consistent behavior of Python objects Data structures: Sequences, dicts, sets, Unicode, and data classes Functions as objects: First-class functions, related design patterns, and type hints in function declarations Object-oriented idioms: Composition, inheritance, mixins, interfaces, operator overloading, static typing and protocols Control flow: Context managers, generators, coroutines, async/await, and thread/process pools Metaprogramming: Properties, attribute descriptors, class decorators, and new class metaprogramming hooks that are simpler than metaclasses

Luciano Ramalho: author's other books


Who wrote Fluent Python: Clear, Concise, and Effective Programming? Find out the surname, the name of the author of the book and a list of all author's works by series.

Fluent Python: Clear, Concise, and Effective Programming — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Fluent Python: Clear, Concise, and Effective Programming" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Fluent Python By Luciano Ramalho Copyright 2021 Luciano Gama de Sousa Ramalho - photo 1
Fluent Python

By Luciano Ramalho

Copyright 2021 Luciano Gama de Sousa Ramalho. All rights reserved.

Printed in the United States of America.

Published by OReilly Media, Inc. , 1005 Gravenstein Highway North, Sebastopol, CA 95472.

OReilly books may be purchased for educational, business, or sales promotional use. Online editions are also available for most titles (http://oreilly.com). For more information, contact our corporate/institutional sales department: 800-998-9938 or corporate@oreilly.com .

  • Acquisitions Editor: Amanda Quinn
  • Development Editor: Jeff Bleiel
  • Production Editor: Daniel Elfanbaum
  • Interior Designer: David Futato
  • Cover Designer: Karen Montgomery
  • Illustrator: Kate Dullea
  • August 2015: First Edition
  • September 2021: Second Edition
Revision History for the Early Release
  • 2020-03-09: First release
  • 2020-05-08: Second release
  • 2020-06-10: Third release
  • 2020-08-20: Fourth release
  • 2020-11-05: Fifth release
  • 2020-12-21: Sixth release
  • 2021-02-01: Seventh release
  • 2021-03-01: Eighth release
  • 2021-04-05: Ninth release
  • 2021-05-13: Tenth release
  • 2021-06-22: Eleventh release
  • 2021-07-27: Twelfth release

See http://oreilly.com/catalog/errata.csp?isbn=9781491946008 for release details.

The OReilly logo is a registered trademark of OReilly Media, Inc. Fluent Python, the cover image, and related trade dress are trademarks of OReilly Media, Inc.

While the publisher and the author have used good faith efforts to ensure that the information and instructions contained in this work are accurate, the publisher and the author disclaim all responsibility for errors or omissions, including without limitation responsibility for damages resulting from the use of or reliance on this work. Use of the information and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open source licenses or the intellectual property rights of others, it is your responsibility to ensure that your use thereof complies with such licenses and/or rights.

978-1-492-05628-7

[LSI]

Dedication

Para Marta, com todo o meu amor.

Preface
Warning

The Preface has not been updated from the First Edition.This will be the last part of the book to be updated for the Second Edition.

Heres the plan: when someone uses a feature you dont understand, simply shoot them. This is easier than learning something new, and before too long the only living coders will be writing in an easily understood, tiny subset of Python 0.9.6 .

Tim Peters, Legendary core developer and author of The Zen of Python

Python is an easy to learn, powerful programming language. Those are the first words of the official Python Tutorial. That is true, but there is a catch: because the language is easy to learn and put to use, many practicing Python programmers leverage only a fraction of its powerful features.

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 youve 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. Whats 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.

How This Book Is Organized

The core audience for this book should not have trouble jumping directly to any chapter in this book. However, each of the six parts forms a book within the book. I conceived the chapters within each part to be read in sequence.

I tried to emphasize using what is available before discussing how to build your own. For example, in , because I believe its important to be comfortable using an ABC before writing your own.

This approach has a few advantages. First, knowing what is ready to use can save you from reinventing the wheel. We use existing collection classes more often than we implement our own, and we can give more attention to the advanced usage of available tools by deferring the discussion on how to create new ones. We are also more likely to inherit from existing ABCs than to create a new ABC from scratch. And finally, I believe it is easier to understand the abstractions after youve seen them in action.

The downside of this strategy are the forward references scattered throughout the chapters. I hope these will be easier to tolerate now that you know why I chose this path.

Here are the main topics in each part of the book:

A single chapter about the Python Data Model explaining how the special methods (e.g., __repr__) are the key to the consistent behavior of objects of all typesin a language that is admired for its consistency. Understanding various facets of the data model is the subject of most of the rest of the book, but provides a high-level overview.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Fluent Python: Clear, Concise, and Effective Programming»

Look at similar books to Fluent Python: Clear, Concise, and Effective Programming. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Fluent Python: Clear, Concise, and Effective Programming»

Discussion, reviews of the book Fluent Python: Clear, Concise, and Effective Programming and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.