Python-HeadFirstSeries

Python-HeadFirstSeries contains my Python codes based on the examples from the book “Head First Python” by “Paul Berry

About

This repository contains some Python modules that can be downloaded from Github or from PyPi (Python Package Index)

Prerequisites

You should have Python 3 installed on your system in order to use these modules. Download the latest version of Python 3 from here

https://www.python.org/

Modules

List of my Python modules

Downloading and Installation

Install using PIP (PIP Installs Packages)

sudo pip install pylist_nester

To upgrade to a newer version

sudo pip install pylist_nester --upgrade

OR

Install manually after downloading zip or tar.gz

Change directory to the extracted zip or tar.gz folder

cd package_name/

Install the module in your copy of python

sudo python setup.py install
Download from (https://github.com/Shashank9830/Python-HeadFirstSeries/releases)

Test the module

Launch python shell

python

Try importing the newly installed module

For example :- pylist_nester

import pylist_nester

If you see the shell move to next line without error then you have successfully installed the module.

Namespaces

While using a function from the module make sure to include the namespace, otherwise you’ll get a NameError

For example :- print_lol() function in pylist_nester module

Incorrect way

print_lol()	#Direct use

Correct way

pylist_nester.print_lol()	#Using namespace

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details