Book Excerpt: Chapter 6: Functions and Functional Programming
Read an excerpt from the 4th Edition of the book Python Essential Reference by David Beazley. Chapter 6: Substantial programs are broken up into functions for better modularity and ease of maintenance. Python makes it easy to define functions but also incorporates a surprising number of features from functional programming languages. This chapter describes the basic mechanisms associated with Python functions including scoping rules, closures, decorators, generators, and coroutines.
|
|
Full Story |
This topic does not have any threads posted yet!
You cannot post until you login.