Skip to product information
1 of 1

Brett Slatkin

Effective Python: 90 Specific Ways to Write Better Python

Effective Python: 90 Specific Ways to Write Better Python

Regular price £31.38 GBP
Regular price £41.99 GBP Sale price £31.38 GBP
25% OFF Sold out
Tax included. Shipping calculated at checkout.

YOU SAVE £10.61

  • Condition: Brand new
  • UK Delivery times: Usually arrives within 2 - 3 working days
  • UK Shipping: Fee starts at £2.39. Subject to product weight & dimension
Trustpilot 4.5 stars rating  Excellent
We're rated excellent on Trustpilot.
  • More about Effective Python: 90 Specific Ways to Write Better Python


Effective Python is a book that provides 90 best practices, tips, and shortcuts for Python programming, helping readers master a "Pythonic" approach and write robust and well-performing code. It covers key features such as guidelines for all major areas of Python, explanations and examples of statements, expressions, and built-in types, best practices for writing functions, comprehensions, and generator functions, and more. The second edition of the book has been substantially revised to reflect how best practices have evolved, and it includes new actionable guidelines for all major areas of Python.

Format: Paperback / softback
Length: 480 pages
Publication date: 17 January 2020
Publisher: Pearson Education (US)


Python, the popular programming language, offers a straightforward entry point for beginners to develop programs. However, its unique strengths, charm, and expressiveness can be challenging to comprehend, and hidden pitfalls can easily hinder progress. This second edition of Effective Python aims to guide you toward mastering a "Pythonic" approach to programming, harnessing Python's full potential to create exceptionally robust and efficient code.

Drawing on his extensive experience in building Python infrastructure at Google, Brett Slatkin presents 90 Python best practices, tips, and shortcuts, accompanied by realistic code examples. The book adopts the concise and scenario-driven style pioneered in Scott Meyers' bestselling Effective C++, making it accessible and engaging for developers of all levels.

Through detailed explanations and examples, Slatkin unravels the intricacies of Python statements, expressions, and built-in types, providing valuable insights into best practices for writing clear, reusable, and bug-free functions. He also delves into advanced techniques such as comprehensions, generator functions, and the expression of behaviors with classes and interfaces.

Recognizing the importance of avoiding pitfalls, the book offers guidance on metaclasses, dynamic attributes, and concurrency and parallelism. It provides solutions for optimizing and hardening code to maximize performance, ensuring that your Python applications are efficient and reliable.

Whether you are a seasoned Python developer or a newcomer seeking to enhance your skills, Effective Python is an invaluable resource. It equips you with the knowledge and techniques necessary to write code that is not only effective but also easy to understand, maintain, and improve. By embracing a "Pythonic" mindset and utilizing the power of Python, you can unlock the full potential of this versatile language and create exceptional software solutions.

Weight: 702g
Dimension: 231 x 177 x 21 (mm)
ISBN-13: 9780134853987
Edition number: 2 ed

UK and International shipping information

UK Delivery and returns information:

  • Delivery within 2 - 3 days when ordering in the UK.
  • Shipping fee for UK customers from £2.39. Fully tracked shipping service available.
  • Returns policy: Return within 30 days of receipt for full refund.

International deliveries:

Shulph Ink now ships to Australia, Belgium, Canada, France, Germany, Ireland, Italy, India, Luxembourg Saudi Arabia, Singapore, Spain, Netherlands, New Zealand, United Arab Emirates, United States of America.

  • Delivery times: within 5 - 10 days for international orders.
  • Shipping fee: charges vary for overseas orders. Only tracked services are available for most international orders. Some countries have untracked shipping options.
  • Customs charges: If ordering to addresses outside the United Kingdom, you may or may not incur additional customs and duties fees during local delivery.
View full details