Basics of Python Programming: A Quick Guide for Beginners

Author(s): Krishna Kumar Mohbey* and Malika Acharya * .

DOI: 10.2174/9789815179637123010011

Modules and Packages

Pp: 195-207 (13)

Buy Chapters
  • * (Excluding Mailing and Handling)

Basics of Python Programming: A Quick Guide for Beginners

Modules and Packages

Author(s): Krishna Kumar Mohbey* and Malika Acharya * .

Pp: 195-207 (13)

DOI: 10.2174/9789815179637123010011

* (Excluding Mailing and Handling)

Abstract

Useful codes are often stored as separate files to increase modularity and reusability. Modules refer to a single file of code while a package is a collection of modules. A good programmer utilises both these aspects to enhance the program view and manage the hierarchy. In this chapter, we introduce the basics of working with the modules and packages.