Skip to product information
1 of 1

Joannah Nanjekye

Python 2 and 3 Compatibility: With Six and Python-Future Libraries

Python 2 and 3 Compatibility: With Six and Python-Future Libraries

Regular price £20.03 GBP
Regular price £22.99 GBP Sale price £20.03 GBP
12% OFF Sold out
Tax included. Shipping calculated at checkout.

YOU SAVE £2.96

  • 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 Python 2 and 3 Compatibility: With Six and Python-Future Libraries


This book is tutorial-oriented with detailed examples of how to convert existing Python 2-compatible code to code that will run reliably on both Python 2 and 3. It explains the syntactical differences between Python 2 and 3 and how to use Python packages Python-Future and Six to implement neutral compatibility. Professional Python developers and enthusiasts who want to implement Python 3 support for their existing Python 2-compatible code will benefit from this book.

Format: Paperback / softback
Length: 129 pages
Publication date: 08 December 2017
Publisher: APress


This book is tutorial-oriented with detailed examples of how to convert existing Python 2-compatible code to code that will run reliably on both Python 2 and 3. Although Python 3 is considered the future of Python, Python 2.x will be maintained for several more years, alongside Python 3, which is not backwards compatible. For those who need to support both versions, this book guides you through the process.

Python 2 and 3 Compatibility explains the syntactical differences between Python 2 and 3, and how to use Python packages Python-Future and Six to implement neutral compatibility. Developers working on either small, medium, or large projects will appreciate the author's clear explanations, detailed examples, and clean techniques to help them extend support for both versions to their existing Python 2-compatible projects.

What You'll Learn

Understand the syntactical differences between Python 2 and 3.

Use the Six and Future libraries.

Review the new features in Python 3.

Choose which Python versions to support when doing neutral support.

Decide on whether to port or provide support for both versions.

Who This Book Is For

Professional Python developers and enthusiasts that want to implement Python 3 support for their existing Python 2 compatible code.

Weight: 338g
Dimension: 178 x 254 x 15 (mm)
ISBN-13: 9781484229545
Edition number: 1st 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