Skip to content

Python-HeadFirstSeries contains Python code for Modules based on the examples from the "Head First Python" book by "Paul Berry"

License

Notifications You must be signed in to change notification settings

Shashank9830/Python-HeadFirstSeries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • pylist_nester : A simple module to print nested lists with indentations.

    Available Versions :

    [Latest]

    v2.0.0 - pylist_nester

      Update log for v2.0.0
      	- Data can now be saved to file with the use of an optional argument
    

    [Older Versions]

    v1.3.1 - pylist_nester

      Update log for v1.3.1
      	- Fixed minor bug
    

    v1.3.0 - pylist_nester

      Update log for v1.3.0
      	- Indentations can now be turned on and off as per user's choice
    

    v1.2.0 - pylist_nester

      Update log for v1.2.0
      	- Level is now a default argument with initial value 0
    

    v1.1.0 - pylist_nester

       Update log for v1.1.0
      	- Renamed to **pylist_nester**
      	- Fixed import errors due to '-' in the module name
      	- Added code to indent lists present at a deeper level (makes output look more appealing)
    

    v1.0.0 - hf-nester

      	- A simple printer of nested lists
    

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

GitHub Link to all versions of all modules

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

About

Python-HeadFirstSeries contains Python code for Modules based on the examples from the "Head First Python" book by "Paul Berry"

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages