Python Tutorial - Agency Analytics

Python Tutorial

 Python History, Features & Installation




 Python History 

  • Python laid its foundation in the late 1980s.
  • By Guido van Rossum at Centrum Wiskunde & Informatica (CWI) in the Netherlands 

 Features Of  Python

1.Object-Oriented Approach
One of the key aspects of Python is its Object-Oriented Approach. This basically means that Python recognizes the concept of class and object encapsulation thus allowing programs to be efficient in the long run.

2.Free and Open Source

Python is freely available for everyone. It is freely available on its official website www.python.org. It has a large community across the world that is dedicatedly working towards make new python modules and functions. Anyone can contribute to the Python community. The open-source means, "Anyone can download its source code without paying any penny."

3.GUI Programming Support
Graphical User Interface is used for the developing Desktop application. PyQT5, Tkinter, Kivy are the libraries which are used for developing the web application.

4.Portable

Suppose you are running Python on Windows and you need to shift the same to either a Mac or a Linux system, then you can easily achieve the same in Python without having to worry about changing the code. This is not possible in other programming languages, thus making Python one of the most portable languages available in the industry.

5. Dynamic

As mentioned in an earlier paragraph, Python is one of the most dynamic languages available in the industry today. What this basically means is that the type of a variable is decided at the run time and not in advance. Due to the presence of this feature, we do not need to specify the type of the variable during coding, thus saving time and increasing efficiency.

6. Easy to code

Python is a high-level programming language. Python is very easy to learn the language as compared to other languages like C, C#, Javascript, Java, etc. It is very easy to code in python language and anybody can learn python basics in a few hours or days. It is also a developer-friendly language.

7.Cross-platform Language
Python can run equally on different platforms such as Windows, Linux, UNIX, and Macintosh, etc. So, we can say that Python is a portable language. It enables programmers to develop the software for several competing platforms by writing a program only once.

8.Large Standard Library
Python has a large standard library which provides a rich set of module and functions so you do not have to write your own code for every single thing. There are many libraries present in python for such as regular expressions, unit-testing, web browsers, etc.


Installation On Windows:-

Step - 1   Download Through  https://www.python.org/downloads/to download the latest release of Python
. In this process, we will install Python 3.10.4 on our Windows operating system
. When we click on the above link, it will bring us the following page.


Step - 2: Select the Python's version to download.

Click on the download button.


Step - 3: Click on the Install Now

Double-click the executable file, which is downloaded; the following window will open. Select Customize installation and proceed. Click on the Add Path check box, it will set the Python path automatically.



Step - 4: installation is successful display

yThe installation process will take few minutes to complete and once the installation is successful, the following screen is displayed.




Step - 5 Testing time 

Now, try to run python on the command prompt. Type the command python -version in case of python3.

To ensure if Python is succesfully installed on your system. Follow the given steps −

  • Open the command prompt.
  • Type ‘python’ and press enter.
  • The version of the python which you have installed will be displayed if the python is successfully installed on your windows.




       (Any question Comment us)


Post a Comment

Previous Post Next Post