python pip from python code example
Example 1: pip upgrade python
pip freeze | %{$_.split('==')[0]} | %{pip install --upgrade $_}
Example 2: pip install python
"""to install a python module just use pip command"""
"""open cmd as administrator and write this command"""
pip install <package-name>
"""for ex. pip install pandas"""
##before writing command first change environment variable to your pip file location