This Video is all about introduction of Python, History and Uses
Now Python is interpreted language.
So what do we mean by interpreted.
To understand this we need to understand the difference between the compiled languages and the interpreted
languages so some languages like C C++ Java are all translated by running the sourcecode through our
tool called compiler.
This compiler Ashenoff source scored results in a very efficient byte code that can be executed any
number of times now interpreted languages like Python.
In contrast must be parsed interpreted and executed each time.
The program is run thereby greatly adding the cost of running the program.
So a compiled language takes the entire program as a single input and converts it into machine code
or byte code which is stored in a file called a binary file.
On the other hand interpreted languages like Python takes the single instruction as a single input and
exiguous that instruction.
Now compiled languages run faster because compiling is done before the execution.
On the other hand interpreted programs run slower because compilation and execution takes place simultaneously.
In case of Python even though it's interpreted language but it's really fast.
Now Python supports dynamic data types and to understand this we need to understand the difference between
statically typed programming languages and dynamically typed programming languages so that they can
be derived.
Programming languages do that type checking and the compile time as opposed to the real time and dynamically
timed.
Programming languages do type checking at runtime as opposed to compile time.
So let's say you declare a variable x is equal to 9 in Python.
Python will do its type checking at runtime whether it's in danger or string or R.W. value all will
be done at runtime.
**************************************************************************
please like and follow us in Facebook and Instagram.
facebook: / technologytv
Instagram: / heikhamsingh
Twitter: / hanandkumarsing