00:00Hello everyone, welcome to the session about the language Python.
00:15Today, we will be learning about the basics of Python further in the upcoming lessons.
00:21So, today about this session we will be going with the introduction, how Python came into
00:27existence, the basic installation process and some very basic program for everybody
00:33to understand.
00:34So, let us move on.
00:36So, Python is definitely a general purpose interpreted language which is interactive
00:43and it is object oriented and it is a high level programming language.
00:48It was created by Guido Von Rosen during the year of 1985 to 1990 and of course, languages
00:56like Perl, Python etcetera the source code is all over available in GNA that is public
01:04general public license it is available there.
01:07So, any kind of inbuilt library functions or any kind of you know dummy codes that you
01:14need it is all available you just need to take and modify according to your requirement.
01:20So, Python is these are certain advantages of this language that is it is interpreted
01:26language where the Python is processed at the run time by the interpreter.
01:32You basically need not compile your program before executing it.
01:37It is similar to Perl and PHP.
01:39Now, it is an interactive language you can actually sit that Python prompt and interact
01:45with the interpreter directly to write your programs.
01:50It is object oriented or there is an object oriented style or technique of programming
01:56that encapsulates the code of the objects or within the objects.
02:01Now, basically it is a beginners language it is a great language for anybody who is
02:06willing to learn Python right from the basic as it is supposed to develop of wide range
02:13of applications from simple text processing to the browsers and games etcetera.
02:20So, this these are the advantages of this language.
02:24Now, what is the characteristic of Python?
02:28It supports functional and structure it is actually functional and it has a structured
02:35programming method just like object oriented programming.
02:40It can be used as a scripting language or can be compiled to byte code for building
02:48large applications.
02:49Now, it provides very high level dynamic data type and even supports dynamic type of checking.
02:58Now, it is automatic garbage it has it supports the automatic garbage collection process and
03:07it can be easily integrated with certain languages such as C, C plus plus then com, active x
03:15then corba even java.
03:17So, these are the main characteristics of the Python language.
03:22Now, where all this language can be used many of us are aware this where all this language
03:28is used we can see it in web development, game development even in scientific and numeric
03:35applications then of course, artificial intelligence, machine learning, then certain desktop GUIs
03:42and we have software developments going on with this language.
03:45We are using it for business applications then certain training courses, education program
03:51all based on Python.
03:53Then we have a language development which is much easier with Python language and even
03:57certain OS's operating systems are using Python languages.
04:03Now, here I am using PyCharm and I am explaining I am specifying how the installation process
04:11and the IDE etcetera has been implemented to this.
04:16So, we are to download this Python we are going to this website called as python dot
04:22org where you can choose your version according to your requirement.
04:27So, here I have chosen 3.9 3.9.5 version of Python and I have completely installed
04:35and run and executed the language.
04:37So, you can see the screen shot here later on.
04:40Now, how to install the PyCharm that has been used we are downloading this PyCharm using
04:46the following website we are downloading the link and come and using the community section
04:53provided in it.
04:55Once the download has been done we will run the execution file that is installing of PyCharm
05:01that will appear in your screen.
05:03Then you can change the installations or settings or as per your requirement whatever library
05:09functions you want to add in you can add it and definitely you can see once the execution
05:15has been done or installation process has been done you will get the file for PyCharm.
05:20These are all the basic things that you have you must have already done before for any
05:25of the previous languages that you have been studied or you can just go through the links
05:30that have been provided.
05:31Now, we will be using the first Python program here how you creating a step 1 is we are opening
05:40the PyCharm editor and we can see the introductory screen for PyCharm and we can create a project
05:48or you can click on a new project and create a new project you can add any name to it.
05:53So, for this you will definitely need a location path.
05:57So, you can set your location path as per your requirement and you can create a new
06:04project file and press the create button there and finally, you can open a Python select
06:11file or by pressing the selection button you can open a Python file.
06:17So, then of course, you can see you will have a new pop up word you can open you can create
06:23your new program for example, I have created a new program called hello world here just
06:29for your notification and this is basically a simple program where you can type print
06:36hello world and you run it and you can find the output.
06:41So, this is how it looks.
06:43So, this is the screen here if you go to file you can create a new project or create a new
06:51Python file.
06:52So, here basically I have given a new project name called as Grishma Python and I have created
06:58a library file functions already which has been implemented I have opened a new file
07:04called hello world dot py that is the Python doc execution file and I have typed the word
07:11print hello world you can press run you need not execute this is you need not compile you
07:18just need to press the run button if you have any issues you can see it on the screen below.
07:23So, this is where the output comes in.
07:26So, once the language has been typed in the program has been typed in you can find your
07:33output there.
07:34So, this is just a basic program called as hello world.
07:39Now other one is how to you know print blank lines that means if you need gap between them
07:47or if you need a space in your like this is nothing but if you want eight space lines
07:53you can give it in two form that is either you can give print eight star slash and that
08:00is the space line that appears here.
08:03So, there will be eight spaces down and then if you want to print something it can be printed.
08:09So, this is just the general format for you to understand how the line gap can be created
08:16and this is how the pycharm screen looks like.
08:20So, with this I conclude the introductory part about python.
08:23Thank you so much.
08:33.
Comments