Python Notes
Python Notes
https://bhailang.js.org/
Compiler Vs Interpreter:
++++++++++++++++++++++++
Compiler: The name compiler is primarily used for programs that translate source
code from a
high-level programming language to a low-level programming language(e.g: assembly
language,
object code, or machine code) to create an executable program
Source code ---> Compiler program ----> compiled output ---> run
Compiled language - A programming language whose source code must pass through an
explicit
compilation phase before execution.
eg: c, c++, Java, go,....
- if the compiler produce [object code] as the compiled output then the
language
is hosted.
eg: Java
+++++++++++++++++++++++++++++++
Python definition: Python is general purpose,high level computer programming
language.
General purpose - it means developing enduser computer applications. Eg:
Notepad app, calc app, office app etc.
High level means simple english like statements to write a program. Eg:
print("Hello")
History of Python:
Python was craeted by "Guido Van Rossun" in 1991.
It was 5years of R&D (1985 - 90)
It was created at National Research Institute for Mathematics & Computer
Science (NRIMCs), Netherlands, Europe.
Today, Python is maintained by Python Software Foundation.
It is opensource software (free to use)
Initial release of Python on Feb 20, 1991