In this video, we shall discuss overview of Biton, what are the different features of Pythonesque
having?
We know that Python is a high level language and object oriented language.
It is very much expressible and it is having a very easy syntax to write the code.
So let us go for our detailed discussion on this overview of Python as it is coming next.
Python coding can be done in three different ways.
First one is the immediate mode.
Next one is the script mode and the last one using some integrated development environment that is EDEK.
So at first we're going to discuss how we can do the coding in Python in immediate mode.
So here we are opening our command prompt and we are going to the respective folder that is our Scallan
user's.
This is username, name and Anakonda three, how to install this anakonda, we have discussed that one
in our other video that what are the steps we required to install this anakonda so far?
This one will be degrading despite the ACCE.
So despite undoubtedly if you click, then this comment probably will open.
With this respect prompt.
There is a triple Grayden symbol.
So here you can write the code and the immediate mode to run our scripts.
You can find this one.
So we are writing this one print HelloWallet.
So in this way, we can go for this, so it is equal to 100.
Basically to 200 C is equal to A plus B.
And then we can go for Prince Princi.
So it is getting printed as 300, so this is a mode which is known as the immediate mode.
That means we can also do the same using our command prompt here.
So here we are having our command prompt.
So I'm going for these users.
And this hour then I'll be going for this Anakonda three.
We can go for this anakonda three here.
We're having our Biton so we can go for this.
So it is a bit under the sea, is there, we can run it.
And we are going to get the same screen, whatever we had.
So this is our this is known as the immediate mode.
So typing Python in the government line will invoke the interpreter in the immediate mode.
And you can directly type in python expressions and presenter to get the required output.
And if the and if the python prompt will tell us that interpreter is ready for our input.
So let me type some code here.
So I'm going for the sprint.
The 100 plus 200 you can easily find it is calculating and giving me the outcome, so this is our immediate
mode, not let me tell you that, how to do the coding.
It was in the script mode.
So for that purpose, we're just opening a notepad.
For the time being.
So here I am writing the code that is a print.
So type this quote here and you are saving this one.
And that is beautiful.
There is Anaconda three and giving the name as Sprog one.
Not by giving their names, but by so we are saving this one wandered by the Vilem.
Now we are coming back to our I'm getting my prompt here, so let me check that the file has got sceptered
or not.
Is a filer's gossip with 41 bites here.
So now we can execute this code using Python.
So Python will interpret this, this program.
So we're going for this Biton propaganda by you can see that the program is executing, so this is the
this is a mode known as the equipment where we can type our code.
And this model will be used to execute the Python program written in a file, and then we're executing
it, using Python and the phylum.
You can get output here.
So this is a program we brought.
OK, and is output we are getting, there is another way to type the code, and that is our integrated
development environment.
So for that purpose, we are just invoking this anakonda.
So I don't want the navigator.
And now here we're going for this Jupiter.
It will open it in a browser.
So here we are having so I shall go for this plus so we're going for this Python three.
So you can find that this is our untitled dot ipy Inbee, so there is extension here, you can write
the code, so print.
You can execute it.
Welcome to the world of programming in this week on Go on execution, so you see it has open into our
Chrome browser.
So on the default browser, this notepad will get opened.
There is a Jupiter lab.
So now we are going for this.
Jupiter notebook.
We tested the Jupiter lab, now we are going for this Jupiter notebook.
So disrespectful, destructive, it is telling.
Now for the new Python three.
So heroes we can type.
You can go for the execution.
In this way, also using this Jupiter, we can also go for this, Taiping, so we updated with Jupiter
and Jupiter notebook, so to as we have done it, make me go for the spider.
So using this part.
So here you can see that the signs are coming, so this a way in which you are typing and you can go
for the execution, you can find that Hello Old and welcome is getting executed.
So there is another way to execute the same.
And now you're going to find that we're going to go for the Rantzen.
So only this particular line, I'm just going for this and then I'm going to run until you see one of
the Halliwell has got executed.
So only this will come has got executed in this way or else we can go for partial execution, let us
suppose we are having variable say is equal to 100 and say is equal to 200.
Now we are going forward says he is equal to A plus B and then we're going for this value of C is going
to get 28.
So the sum of.
Is.
So there is a way to type format, we shall be discussing all these things into details.
If we go on executing, we can find that so the sum of 100 and 200 is 300, but having the variable
explode out here, you can see the value of and BNC will be displayed.
You can find that develop and B and C are getting displayed.
So I'm just making this one up.
600 making this one has 500.
So now if I go on executing, you can find that values about uprated.
So this is not an advantage of this.
There's a spider also here.
Also, we can have the line-by-line execution, as I told you, that if I maqdis this and if we go for
ransom, if we're getting only these two lines are getting executed.
So there is another fantastic way to execute this Python program.
So as we discussed that Python is nothing but one cross platform programming language and it executes
in Windows, Mac with Linux and Unix.
And also it can be executed, ported to the Java Internet virtual machines.
And now it is Python is available in some Unix and in Mac preinstalled.
But in that case, obviously, the versions might be the older one.
So it is it is our better choice to install it the latest version and explore it according to our requirement.
We can explore that one.
And now let me discuss some of the different features of this python.
Python is an object oriented language, which means that it can model real world objects.
And it is also dynamically typed because it carries out a type checking at runtime so that it dynamically
typing means during the runtime.
The variables data type will be decided here.
That named Python came by Guido van Rossum and it came after the committee group that is a Monty Python
and from that is named Python came here.
If you consider Python, then in Python architecture, where having parser, which is the source code
to generate an abstract syntax street with having compiler which runs the Williston's, obstruct a syntax
tree into python bytecode, we're having interpretor, which will be executing the code line by line.
And we are also having their respective three components.
So that is our parser compiler and interpreter.
So Parser will convert the source code to the as I told you, that is the abstract syntax compiler will
convert this abstract syntax bytecode format and then the interpreter will come, which will execute
this code line by line.
Python is having multiple different components.
That is a functions, classes, modules, packages and so on.
We know that functions is nothing but a collection of stickman named into one classes are nothing but
Ingersol object oriented programming, so it supports the classes and the objects.
A Python module is a collection of related classes and the functions where having the packages or package
is a collection of related models and will be using multiple different packages.
In our current tutorial on Python here, if you consider the features of Python, the python is very
easy.
That is very easy to learn and understand.
It is interpreted so it is interpreted, executed line by line.
So it makes it easy to test and debug.
If you consider the respective object oriented, it supports the classes and objects.
It is free and open source.
So that is another advantage for making the python so popular.
So that is the language and its source code are available to the public for free.
No need to buy a costly license.
It is portable.
That means we can run Python on Windows, Mac, Linux and other platform.
As I discussed, I don't suppose that you were programming.
That means we can develop it, yet you won't interface for our users and it is having a large library.
That is one of the very important feature of Python.
That is a python provides us with a large standard library and you can use them to implement a variety
of functions and multiple different frameworks are available in Python.
We are having the same with Dubai, where having none by having our pyramid, we are having sci fi,
we are being Dejiang.
So, so many different frameworks are available at these frameworks are required to develop our software
in multiple different applications for multiple different studies.
So that's why Python is so useful.
And the common extension for Python file will be dog bite.
So it is a common extension which we had in our notepad.
We know that in our notepad we had that extension.
There is a proc, one dart bite.
So it is a normal extension for a python source.
But having other extensions, that is why you see there is a comp. bytecode we're having B white D,
there is a Windows deal file.
We're having B white.
Oh, that is a file created with optimisations B.
Why W there is A.
Transcript for Windows B, Y, Z, there is a Python script archive, so now the last question I want
to discuss that.
Why should we learn Python?
Because using Python, we can go for developing a website, develop a game platform, computer vision
to the machine learning, because in our machine learning we're having, despite all the art programming
languages.
And Python is one of the most popular language in our machine.
Learning and artificial intelligence domain.
Enable a robotics, enable robotics, perform Whipp scrapping.
We're having parfum guitar lessons, automate a web browser, performing scripting, perform scientific
computations, build artificial intelligence oriented applications and so on.
So that's why Python is becoming so useful and we are having multiple different constructs in Python.
Like our least, we are having tuples and having dictionaries where having common sense gokmen string
and well-being CDs, we are having the sets, we are having sequences and so on.
So, so many things and we will be covering all these different aspects of Python in our tutorial.
So please go through all the videos in the sequence in which they are appearing in the tutorial.
And this is our overview on Python.
Thanks for watching this video.