Effective Python: 59 Specific Ways to Write Better Python

Slatkin, Brett

ISBN 10: 0134034287 ISBN 13: 9780134034287
Published by Addison-Wesley Professional, 2015
Used Paperback

From ThriftBooks-Atlanta, AUSTELL, GA, U.S.A. Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

AbeBooks Seller since 24 March 2009

This specific item is no longer available.

About this Item

Description:

May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less 1.13. Seller Inventory # G0134034287I4N00

Report this item

Synopsis:

“Each item in Slatkin’s Effective Python teaches a self-contained lesson with its own source code. This makes the book random-access: Items are easy to browse and study in whatever order the reader needs. I will be recommending Effective Python to students as an admirably compact source of mainstream advice on a very broad range of topics for the intermediate Python programmer.”

—Brandon Rhodes, software engineer at Dropbox and chair of PyCon 2016-2017

 

It’s easy to start coding with Python, which is why the language is so popular. However, Python’s unique strengths, charms, and expressiveness can be hard to grasp, and there are hidden pitfalls that can easily trip you up.

 

Effective Python will help you master a truly “Pythonic” approach to programming, harnessing Python’s full power to write exceptionally robust and well-performing code. Using the concise, scenario-driven style pioneered in Scott Meyers’ best-selling Effective C++, Brett Slatkin brings together 59 Python best practices, tips, and shortcuts, and explains them with realistic code examples.

 

Drawing on years of experience building Python infrastructure at Google, Slatkin uncovers little-known quirks and idioms that powerfully impact code behavior and performance. You’ll learn the best way to accomplish key tasks, so you can write code that’s easier to understand, maintain, and improve.

 

Key features include

  • Actionable guidelines for all major areas of Python 3.x and 2.x development, with detailed explanations and examples
  • Best practices for writing functions that clarify intention, promote reuse, and avoid bugs
  • Coverage of how to accurately express behaviors with classes and objects
  • Guidance on how to avoid pitfalls with metaclasses and dynamic attributes
  • More efficient approaches to concurrency and parallelism
  • Better techniques and idioms for using Python’s built-in modules
  • Tools and best practices for collaborative development
  • Solutions for debugging, testing, and optimization in order to improve quality and performance

Review:

“I’ve been programming in Python for years and thought I knew it pretty well. Thanks to this treasure trove of tips and techniques, I realize there’s so much more I could be doing with my Python code to make it faster (e.g., using built-in data structures), easier to read (e.g., enforcing keyword-only arguments), and much more Pythonic (e.g., using zip to iterate over lists in parallel).”

–Pamela Fox, educationeer, Khan Academy

 

“If I had this book when I first switched from Java to Python, it would have saved me many months of repeated code rewrites, which happened each time I realized I was doing particular things ‘non-Pythonically.’ This book collects the vast majority of basic Python ‘must-knows’ into one place, eliminating the need to stumble upon them one-by-one over the course of months or years. The scope of the book is impressive, starting with the importance of PEP8 as well as that of major Python idioms, then reaching through function, method and class design, effective standard library use, quality API design, testing, and performance measurement–this book really has it all. A fantastic introduction to what it really means to be a Python programmer for both the novice and the experienced developer.”

–Mike Bayer, creator of SQLAlchemy

 

Effective Python will take your Python skills to the next level with clear guidelines for improving Python code style and function.”

–Leah Culver, developer advocate, Dropbox

 

“This book is an exceptionally great resource for seasoned developers in other languages who are looking to quickly pick up Python and move beyond the basic language constructs into more Pythonic code. The organization of the book is clear, concise, and easy to digest, and each item and chapter can stand on its own as a meditation on a particular topic. The book covers the breadth of language constructs in pure Python without confusing the reader with the complexities of the broader Python ecosystem. For more seasoned developers the book provides in-depth examples of language constructs they may not have previously encountered, and provides examples of less commonly used language features. It is clear that the author is exceptionally facile with Python, and he uses his professional experience to alert the reader to common subtle bugs and common failure modes. Furthermore, the book does an excellent job of pointing out subtleties between Python 2.X and Python 3.X and could serve as a refresher course as one transitions between variants of Python.”

–Katherine Scott, software lead, Tempo Automation

 

“This is a great book for both novice and experienced programmers. The code examples and explanations are well thought out and explained concisely and thoroughly.”

–C. Titus Brown, associate professor, UC Davis

 

“This is an immensely useful resource for advanced Python usage and building cleaner, more maintainable software. Anyone looking to take their Python skills to the next level would benefit from putting the book’s advice into practice.”

–Wes McKinney, creator of pandas; author of Python for Data Analysis; and software engineer at Cloudera

"About this title" may belong to another edition of this title.

Bibliographic Details

Title: Effective Python: 59 Specific Ways to Write ...
Publisher: Addison-Wesley Professional
Publication Date: 2015
Binding: Paperback
Condition: Very Good
Dust Jacket Condition: No Jacket

Top Search Results from the AbeBooks Marketplace

Stock Image

Slatkin, Brett
Published by Addison-Wesley Professional, 2015
ISBN 10: 0134034287 ISBN 13: 9780134034287
Used Softcover

Seller: Goodwill Books, Hillsboro, OR, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. Signs of wear and consistent use. Seller Inventory # 3IISL8000451_ns

Contact seller

Buy Used

£ 1.57
Convert currency
Shipping: £ 3
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Slatkin, Brett
Published by Addison-Wesley, 2015
ISBN 10: 0134034287 ISBN 13: 9780134034287
Used Softcover

Seller: Anybook.com, Lincoln, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. This is an ex-library book and may have the usual library/used-book markings inside.This book has soft covers. In good all round condition. Please note the Image in this listing is a stock photo and may not match the covers of the actual item,600grams, ISBN:9780134034287. Seller Inventory # 8243719

Contact seller

Buy Used

£ 2.68
Convert currency
Shipping: £ 11.88
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Slatkin, Brett
Published by Addison-Wesley Professional, 2015
ISBN 10: 0134034287 ISBN 13: 9780134034287
Used Softcover

Seller: SecondSale, Montgomery, IL, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Very Good. Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc. Seller Inventory # 00083754498

Contact seller

Buy Used

£ 3.53
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 3 available

Add to basket

Stock Image

Slatkin, Brett
Published by Addison-Wesley Professional, 2015
ISBN 10: 0134034287 ISBN 13: 9780134034287
Used Softcover

Seller: SecondSale, Montgomery, IL, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Good. Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc. Seller Inventory # 00085924276

Contact seller

Buy Used

£ 3.53
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 2 available

Add to basket

Seller Image

Slatkin, Brett
Published by Addison-Wesley Professional, 2015
ISBN 10: 0134034287 ISBN 13: 9780134034287
Used Softcover

Seller: ZBK Books, Carlstadt, NJ, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: good. Used book in good and clean conditions. Pages and cover are intact. Limited notes marks and highlighting may be present. May show signs of normal shelf wear and bends on edges. Item may be missing CDs or access codes. May include library marks. Fast Shipping. Seller Inventory # ZWM.FLE3

Contact seller

Buy Used

£ 3.54
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Slatkin, Brett
Published by Addison-Wesley Professional, 2015
ISBN 10: 0134034287 ISBN 13: 9780134034287
Used Paperback

Seller: WorldofBooks, Goring-By-Sea, WS, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Seller Inventory # GOR007981556

Contact seller

Buy Used

£ 3.76
Convert currency
Shipping: £ 5.60
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 2 available

Add to basket

Stock Image

Slatkin, Brett
Published by Addison-Wesley Professional, 2015
ISBN 10: 0134034287 ISBN 13: 9780134034287
Used Paperback

Seller: HPB-Red, Dallas, TX, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Good. 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! Seller Inventory # S_372107494

Contact seller

Buy Used

£ 3.87
Convert currency
Shipping: £ 2.81
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Slatkin, Brett
ISBN 10: 0134034287 ISBN 13: 9780134034287
Used Paperback

Seller: BooksRun, Philadelphia, PA, U.S.A.

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Paperback. Condition: Fair. 1. Ship within 24hrs. Satisfaction 100% guaranteed. APO/FPO addresses supported. Seller Inventory # 0134034287-7-1

Contact seller

Buy Used

£ 4.41
Convert currency
Shipping: FREE
Within U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Seller Image

Slatkin, Brett
Published by Addison-Wesley, 2015
ISBN 10: 0134034287 ISBN 13: 9780134034287
Used Softcover

Seller: WeBuyBooks, Rossendale, LANCS, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Like New. Most items will be dispatched the same or the next working day. An apparently unread copy in perfect condition. Dust cover is intact with no nicks or tears. Spine has no signs of creasing. Pages are clean and not marred by notes or folds of any kind. Seller Inventory # wbs4583918712

Contact seller

Buy Used

£ 4.42
Convert currency
Shipping: £ 4.66
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

Stock Image

Slatkin, Brett
Published by Addison Wesley Professional, 2015
ISBN 10: 0134034287 ISBN 13: 9780134034287
Used Softcover First Edition

Seller: Better World Books Ltd, Dunfermline, United Kingdom

Seller rating 5 out of 5 stars 5-star rating, Learn more about seller ratings

Condition: Very Good. 1st Edition. Ships from the UK. Former library book; may include library markings. Used book that is in excellent condition. May show signs of wear or have minor defects. Seller Inventory # 40244941-6

Contact seller

Buy Used

£ 4.71
Convert currency
Shipping: £ 8
From United Kingdom to U.S.A.
Destination, rates & speeds

Quantity: 1 available

Add to basket

There are 22 more copies of this book

View all search results for this book