Chapter 8. Advanced Programming Techniques

In this chapter we will look at a wide variety of different programming techniques and introduce many additional, often more advanced, Python syntaxes. Some of the material in this chapter is quite challenging, but keep in mind that the most advanced techniques are rarely needed and you can always skim the first time to get an idea of what can be done and read more carefully when the need arises.

The chapter’s first section digs more deeply into Python’s procedural features. It starts by showing how to use what we already covered in a novel way, and then returns to the theme of generators that we ...

Get Programming in Python 3: A Complete Introduction to the Python Language now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.