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.
Keywords: Scoping, Modular programming, Standalone script.
About this chapter
Cite this chapter as:
Krishna Kumar Mohbey, Malika Acharya ;Modules and Packages, Basics of Python Programming: A Quick Guide for Beginners (2023) 1: 195. https://doi.org/10.2174/9789815179637123010011
DOI https://doi.org/10.2174/9789815179637123010011 |
Publisher Name Bentham Science Publisher |