Skip to Main Content
Learning Python
book

Learning Python

by Mark Lutz, David Ascher
April 1999
Beginner content levelBeginner
384 pages
11h 15m
English
O'Reilly Media, Inc.
Content preview from Learning Python

Summary

In this chapter, you’ve learned how to write and call functions of your own. We’ve explored scope and namespace issues, talked about argument passing, saw a number of functional tools such as lambda and map, and studied new function-related statements—def, return, and global. We’ve also talked a little about how to go about gluing functions together, and looked at common function cases that can trip up new users. In Chapter 5 we’ll learn about modules, which, among other things, lets you group functions into packages of related tools.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Python

Learning Python

Fabrizio Romano
Getting Started with Python

Getting Started with Python

Fabrizio Romano, Benjamin Baka, Dusty Phillips

Publisher Resources

ISBN: 1565924649Supplemental ContentCatalog PageErrata