Guide to: Learning Iteration and Generators in Python Audiolibro Por Matt Harrison arte de portada

Guide to: Learning Iteration and Generators in Python

Vista previa
OFERTA POR TIEMPO LIMITADO

3 meses gratis
Prueba por $0.00
La oferta termina el 31 de julio, 2025 a las 11:59PM PT.
Elige 1 audiolibro al mes de nuestra colección inigualable.
Escucha todo lo que quieras de entre miles de audiolibros, Originals y podcasts incluidos.
Accede a ofertas y descuentos exclusivos.
Premium Plus se renueva automáticamente por $14.95/mes después de 3 meses. Cancela en cualquier momento.

Guide to: Learning Iteration and Generators in Python

De: Matt Harrison
Narrado por: John Edmondson
Prueba por $0.00

$0.00/mes despues de 3 meses. La oferta termina el 31 de julio, 2025 a las 11:59PM PT. Cancela en cualquier momento.

Compra ahora por $6.95

Compra ahora por $6.95

Confirma la compra
la tarjeta con terminación
Al confirmar tu compra, aceptas las Condiciones de Uso de Audible y el Aviso de Privacidad de Amazon. Impuestos a cobrar según aplique.
Cancelar

Acerca de esta escucha

This book is one portion of Treading on Python Volume 2: Intermediate Python. That book covers this book and more. If you are interested in only iteration and generators, this book has you covered. Otherwise, check out Treading on Python Volume 2.

Iteration and Generators

Understanding iteration enables understanding generators and easily creating objects that can iterate. This guide will explain the theory behind iteration in Python and teach best practices for generator creation and use. Do not beware the yield; rather, embrace the power it provides.

The guide covers:

  • Iteration protocol
  • Iterators
  • Iterables
  • Class iteration
  • The yield statement
  • Generators
  • Function generators
  • Class generators
  • Writing Python code like the masters

These constructs, while not necessary per se, allow you to be more succinct, reuse code, and think about code in a different way. You will learn:

  • How the constructs work
  • When to use them
  • Real-life examples from the standard library
  • How to understand others' code

This book covers many of these intermediate constructs that are available in Python. The book covers both Python 2 and 3. Topics include:

  • Iteration
  • Generators
  • Using them with classes
  • Real-world examples of their use
©2013 Matt Harrison (P)2015 Matt Harrison
Exito Profesional Programación Profesión Tecnología Empleo Software Desarrollo de software
adbl_web_global_use_to_activate_webcro805_stickypopup
Todavía no hay opiniones