Check out example codes for "How to open pip". It will help you in understanding the concepts better.

Code Example 1

$ pip --version

pip 18.1 from C:\Python37\lib\site-packages\pip (python 3.7)

Learn ReactJs, React Native from akashmittal.com