Python Theory
Introduction
It was designed with an importance on code readability, and its syntax allows programmers to demonstrate their concepts in fewer lines of code.
Learning python is simple as this is an expressive and high level programming language, which means it is easy to understand the language and therefore easy to learn. (Its relative size and simplified syntax give it an edge over languages like Java and C++, yet the abundance of libraries gives it the power needed to accomplish great things.Python is meant to be an easily readable language. Its formatting is visually uncluttered, and it often uses English keywords where other languages use punctuation. Far from many other languages, it does not use curly brackets to delimit blocks, and semicolons after statements are optional. It has fewer syntactic exceptions and special cases than C or PHP).
History of PYTHON language
The programming language Python originated in the late 1980s, and its execution was started in December 1989 by Guido van Rossum at CWI in the Netherlands as a successor to ABC capable of exception handling and affiliating with the Amoeba operating system.
Its performance began in December 1989. Van Rossum shouldered sole authority for the project, as the lead developer, until 12 July 2018, when he declared his "permanent evacuation" from his responsibilities as Python's Benevolent Dictator For Life, a title the Python community bestowed upon him to reflect his long-term commitment as the project's chief decision-maker.He now allotted his authority as a member of a five-person steering council. In January 2019, active Python core developers appointed Brett Cannon, Nick Coghlan, Barry Warsaw, Carol Willing and Van Rossum to a five-member "Steering Council" to take the project.
- Python 2.0 was released on 16 October 2000 with many crucial new features, including a cycle-detection garbage collector and support for Unicode.
- Python 3.0 was released on 3 December 2008. It was a major revision of the language that is not completely backward-compatible. Many of its crucial features were backported to Python 2.6.x and 2.7.x version sequences. Releases of Python 3 include the advantage, which automates the relocation of Python 2 code to Python 3.
- Python 2.7's end-of-life date was originally set in 2015 then rescheduled to 2020 out of concern that a large body of existing code could not easily be forward-ported to Python 3.
Structure of PYTHON Program
Example program :
Applications
- It is used to develop Web applications.
- Frameworks such as Django.
- Micro Frameworks such as Flask.
- It is used to develop Game Development.
- Machine Learning and Artificial Intelligence.
- Networking
- implement some protocols SMTP,FTP,HTTP.
- Cryptography
- Encrypt and decrypt library, something like, RSA,RC4,DES.
Keywords
1. Keywords are special words.
2. Which are formal and have a specific meaning.
3. Case sensitive.
False | await | else | import | pass |
none | break | except | in | raise |
true | class | finally | is | return |
and | continue | For | lamda | try |
as | def | from | nonlocal | while |
assert | del | global | not | with |
async | elif | if | or | yield |