What is Python Language - Introduction

Python Language Introduction :

Python is a broadly utilized general-purpose, high level programming language. It was at first designed by Guido van Rossum in 1991 and developed by Python Software Foundation. It was essentially developed for emphasis on code readability, and its syntax enables programmers to express concepts in less lines of code. 

Python is a programming language that gives you a chance to work quickly and integrate systems all the more productively. 

There are two noteworthy Python versions-Python 2 and Python 3. Both are very unique.

What is Python Language - Introduction
What is Python Language - Introduction

Beginning with Python programming:

1) Finding an Interpreter:

Windows : There are numerous interpreters available freely to run Python scripts like IDLE ( Integrated Development Environment ) which is installed when you introduce the python software from http://python.org/ 

Linux:For Linux, Python comes packaged with the linux.

2) Writing first program:

Following is first program in Python

# Script Begins
print("something new")
# Scripts Ends

Output:  something new

Also read :

Let's analyze the script line by line. 

Line 1 : [# Script Begins] In Python comments start with #. So this statement is for readability of code and overlooked by Python interpretor. 

Line 2 : [print("somethingnew")] In a Python script to print something on the console print() function is utilized – it essentially prints out a line ( and furthermore includes a newline unlike in C ). One contrast between Python 2 and Python 3 is the print statement. In Python 2, the "print" statement isn't a function, and in this way can be invoked without a parenthesis. Be that as it may, in Python 3, it is a function, and should be invoked with enclosures. 

Line 3 : [# Script Ends] This is simply one more comment like Line 1.

If you don't mind compose comments if  you discover anything inaccurate, or you need to share more data about the topic talked about above .
Next Post »