Friday, July 17, 2020

How To Update/Upgrade A Python Package

How to upgrade python module:



in Linux:



  In terminal type           
$pip3 install --upgrade packageName  
       
   ## Exa1:
 $pip3 inatall --upgrade numpy
       
Note:  sign already come by default in terminal.


In Windows :

     

In powershell or command prompt
 type:
 $:pip install --upgrade packagename

 ## Exa1:
 $pip inatall --upgrade numpy


How to install a selective version of python module:


 In Linux:

                     
 type :       
$ pip3 install packagename==version     

## Exa1: 
pip3 inatall scipy==1.4.1

 

 In Windows:

                     
 type :
$pip install packagename==version

## Exa1: 

Sunday, January 26, 2020

What is Python ?


2.What is Python ?


           python is a object oriented programming language. it is high-level and general-purpose programming language.it was created by Guido van Rossum and first released in 1991.for more details click here


💪Python uses for 

  • Web development
  • Software development (GUI Application)
  • Artificial Intelligence
  • Machine Learning 
  • Data manipulation.


😊Why we choose python ?

  • python script syntax is written in easy readable code (as English word mean)
  • python uses new line to complete command but other language uses character as semicolon or brackets.
  • python is open source and not required to pay any cost to download setup and for uses it.
  • python works on different platforms as windows, Linux, mac, raspberry pi, etc. 


👉👉If yet, you not installed python . visit our first article on installation process of python. click here


Thursday, January 16, 2020

Python Installation


1. Python Installation !!


Python installation is easy process in both operating systems 1).Windows & 2).Linux

1.Windows

Visits python official website -https://www.python.org/downloads/     and follow below instructions.

The web look likes as below image and download a latest version of python.The setup size about 25.22 MB. 

Now run the downloaded setup by double click. the installation interface will be look like as 


There are two option one is Upgrade Now and second is Customize installation. if you have a installed python and want to upgrade it then you can select first option.if you are first installer then obviously you must select second option.

We recommended you should select second option .The next interface will be like as 


There are some Optional Features. Here you are not require to do any change and just click to next.


after this you must click in box as check mark of "Add  Python to environment variables".

Note:- if you install before and you forget to check it we recommend to uninstall it and start fresh installation and follow us.

The installation location is your choice where are you want to install it. and click on install button.
now installation will be start. 

wait until installation is complete it will take approximately 3 to 5 minutes. Take a tea or coffee.


Now installation is complete and close it.
how to start it. click on window start button and go to app list and find python as well as we mention in below image.


 The red area is cover all python files but you need only first file as IDLE(python 3.8..). click on it.


This is the first look of python interpreter which known as "python shell".  Now installation is completed.

2.Linux

Installing python in Ubuntu or other Linux OS are similar. First open Terminal by shortcut "ctrl+alt+t". and type following command lines.

a) sudo apt update
b)sudo apt install python3
c)sudo apt install idle3  or sudo apt-get install idle3
d)sudo apt install pip3   or sudo apt install python3-pip

Now python installation is complete. open python idle. it will be look like windows shell similar.

    2.  what is python ? click here