Python Primer: A self Study Approach by Chalise Zenitha & Bhandari Bibek

Python Primer: A self Study Approach by Chalise Zenitha & Bhandari Bibek

Author:Chalise, Zenitha & Bhandari , Bibek
Language: eng
Format: epub
Published: 2023-11-12T00:00:00+00:00


Module Aliases

You can give a module an alias to make it easier to reference in your code.

Importing Specific Functions

You can import specific functions or variables from a module rather than the entire module.

47

Using Standard Library Modules

Python comes with a standard library of modules that provide a wide range of functionality. You can use these modules without installing anything extra.

48

Project: Building a Simple Contact Book Introduction

In this project, you'll apply the concepts of functions and modules to create a simple contact book. This contact book will allow users to add new contacts, view existing contacts, and search for specific contacts by name.

Steps to Build the Simple Contact Book Create a Contact Module:

Begin by creating a Python module named contact_book.py. This module will contain functions for managing contacts.

49



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.