Python Programming
Python is one of the world’s most popular programming language.
It is an interpreted, object-oriented, high-level programming language with dynamic
semantics.
It was developed by Guido van Rossum.
An interpreted language is a type of programming language where code is executed
directly, line by line, by an interpreter.
A high-level programming language is designed to be easily understood and written by
humans, rather than being directly executed by a computer. It uses a more abstract syntax,
closer to natural language, and hides many low-level details from the programmer. Examples
include Python, Java, and C++
An object is a distinct entity that exists independently, having its own properties (state) and
behaviors (actions). In programming, it's a unit of code that represents a real-world item or
concept, like a car, a person, or a product.
Example:
Real-world object: car.
State: Color, model, year, mileage, fuel level.
Behavior: Start, stop, accelerate, decelerate, change gears.
In Python, "dynamic semantics" refers to the language's ability to determine the type of a
variable during runtime, not at compile time. This means you don't need to explicitly declare
a variable's data type before assigning a value to it.
Python programming language was developed by
Guido Van Rossum in the late 1980s at the National
Research Institute for Mathematics and Computer
Science in the Netherlands.
It is derived from many other languages, including
ABC programming Language, Modula-3, C, C++,
Algol-68, SmallTalk, Unix shell and other scripting
languages. It is copyrighted.
Features of Python
1. Easy-to-learn: one of the features of Python is that it has few keywords, simple structure,
and clearly defined syntax. This allows the users to pick up the language quickly.