Introduction :- 

  • Python is the easiest language out of all these programming languages.
  • Python is a High-Level Object-Oriented Programming Language.
  • Like the English language in Python, almost the same code is in the Python language.
  • Python This language is an open source language. It is available for free on any OS platform.
  • If you want to learn Python Language, then there is no need of any Basic Programming Language.





Python History :- 

  • This Dutch programmer invented the Python language 'Guido Van Rossum'.
  • Python was started in 1980 and about a decade later python was launched in 1991.
  • In February 1991, Guido Van Rossum published the code (labeled version 0.9.0) to alt.sources.
  • In 1994, Python 1.0 was released with new features like lambda, map, filter, and reduce.
  • Python 2.0 added new features such as list comprehensions, garbage collection systems.




Why Named Python ? :- 


  • Monty Python's Flying Circus This series was aired in 1969, directed by the Monty Python Group.
  • Guido Van Rossum loved this series a lot. Because of this, he named his computer language 'Python'.
  • The name of Python language is not taken from the name of any snake.




Python Programming Features :-



Easy to Learn :
  • Python This language is like C, C ++ and Java language. 
  • Due to not having many keywords in this language, it can be learned quite easily.

Easy to Understand :
  • Due to the syntax like Plain English, it is understood very well.

Easy to Read :
  • Python's program provides ease of reading without being too complicated.

Simple :
  • Python language is very easy to read and understand. 
  • This language is mostly like plain English in reading.

Portable :
  • Python's program is executed by porting it from one platform (OS) to another.

Large Number of Libraries :
  • Python has many libraries so that no specific code has to be written separately.

Open-Source and Free :
  • Python's software is distributed for free. 
  • Python's code can be read or some changes can also be done in it. 
  • It is also used commercially.

Object-Oriented :
  • Along with C++ and Java, this language is also an Object-Oriented Language. 
  • Being Object-Oriented, the program provides ease of understanding.

Embeddable :
  • Python can be embedded with C, C++ or other languages.

Extensible :
  • If the code of another language is not working well or is working slowly, then Python can be used instead.





Python Applications :- 


1. Scientific and Computational Applications :
  • Some libraries come in Python for Scientific and Computational Operation, 
  • such as SciPy for scientific computing and NumPy library is used for Numeric computing.

2. Web Applications :
  • Content Management System (CMS) and Frameworks are used to create Web Applications with the help of Python, 
  • such as, Django, Bottle, Flask and CherryPy and many more frameworks are used.


3. Gaming Applications :
  • Some modules, libraries are used in Python for game development, such as Soya3D and Panda3D. 
  • This framework is used to develop high-level 3D games.


4. ERP Applications :
  • ERP5, ERPNext and OpenERP are used for Enterprise and Business Applications. 
  • Python has been used in Youtube, Yahoo and reddit.


5. Graphical Applications :
  • Python-Orge, PyQt, PyGtk and etc. frameworks are used in Python for Graphics Design.


Python IDLE Installation Steps :- 

Step 1 (Download Python IDLE) :
  • Python is downloaded for free. To download Python http://www.python.org/downloads, go to this link and download the latest (3.6.1) version, if you want, any versions can be downloaded according to your need.
Step 2 (Installing Python):
  • After downloading, install the downloaded file by double clicking it.
Step 3 (Open Python IDLE) :
  • Open it by going to the path where it has been installed.
Step 4 (Python Program in Shell) :
  • Write a simple program of Python in Shell.
Step 5 (Create .py file) :
  • To save the python program on your computer despite the shell, go to the file menu in the shell and write your program by clicking on new (Ctrl + N). 
  • After that the default will be set with .py by giving it a name. Even if the extension is given, there is no problem. 
  • For eg. new.py
Step 6 (Run .py file) :
  • After saving the Python file, use Run Module or F5 in Run to run it.



Example :- HELLO PYTHON

Using ( ' ' ) 
print('HELLO PYTHON')
Without Using ( ' ' ) 
print(HELLO PYTHON)

OUTPUT
 HELLO PYTHON 


PYTHON KEYWORD :-

EXAMPLE:- 

 import keyword
 print(keyword.kwlist)
OUTPUT
 ['False', 'None', 'True', 'and', 'as', 'assert', 'break', 'class', 'continue', 'def', 'del', 'elif', 'else', 'except', 'finally', 'for', 'from', 'global', 'if', 'import', 'in', 'is', 'lambda', 'nonlocal', 'not', 'or', 'pass', 'raise', 'return', 'try', 'while', 'with', 'yield']