Part V. Modules
Part V explores Python modules. Modules are packages of names that usually correspond to source files and serve as libraries of tools for use in other files and programs. We introduced modules very early (in Part I) as a way to retain and run code. Here, we fill in the remaining details on this subject, and study some advanced module-related topics, such as package (directory) imports.
Get Learning Python, 2nd Edition 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.