PIP : It is known as package installer for python.
Package : Package is a library where different module are registered.
Module : Module is python file where various functions are registered.
How to check PIP installed in your system :
==========================================
Open CMD prompt and type
pip --version
#pip 25.0.1
By default it is installed in your system after python installations
What are packages installed in your system :
============================================
pip list / pip freeze
How install a new package :
===========================
pip install <package name>
pip install camelCase
How to see a particular package:
================================
pip show <package name>
pip show camelcase
How to use a package in your program:
=====================================
import <package name>
import camelCase
import <package name> as <anyname>
import camelCase as c
form <package name> import <module>
form camelcase import CamelCase
form <package name> import <module> as <anyname>
form camelCase import CamelCase as cc
Python package website :
https://pypi.org/
Comments
Post a Comment