hello my name is Shas I have 20 years years of experience both in real time as well as in teaching so in the last session we discussed about what is python what are the features of python and history of Pon and in this session today we will discussing how to install python how to install py Cham and we learn some basics of uh programming language okay uh let's start start with uh how to install python so if you want to install python uh first we have to go to the website called python. org in python. org uh there is one option called downloads button so click on this downloads button uh when you click on this download button this python will be installed on your machine once you double click on that setup file setup file uh this screen will be open and and you to check this add python texe to the path and click on this install now and this python will be installed on your machine yes uh you'll get message called set was successful and then you dis close your this uh button click on this close button after clicking on this button now what you'll do we'll go to command promp if you want to go to command prom what will do here click on this uh CMD click on this CMD command prompt will screen will open this and come here uh just type here python iPhone iPhone version and you'll get the version what we installed so we got this called python 3.
1 12. 7 right so this is a way to install there are installation steps now after installing after installing python next you should know how to write programs so to write programs there are so many ways to write programs even we can write programs in notepad also okay so go here notepad but notepad is not we won't write in notepad we'll use some editors okay so there are so many editors so before learning editors you should know the concept of ID what is ID integrated development environment and integrated development environment is a toolbox it's a toolbox it's a software app uh that offers developers tools to write a debug test and save developers lot of uh time so when you do this uh when you use this IDs okay uh you can write the code not only writing the code we can debug the code we can test the code so that it saves developers lots of time okay this means that you don't have to leave your ID envirment when working on your project and ID that is integrated management code you get a compiler that converts code to platform specific Mission instructions to compile and build executes so normally won't get in all these things in notepad Okay so you have to install this IDs and other ID features include code completion syntax highlighting refactoring and Version Control okay right now to facilitate an easy way to write edit and test code ID is come with graphical user interface it will provide one J interface uh there there uh for example we have us called for example there is one product called pyam there is one ID called pyam exclusive for python like just like int for we use for Java okay ID is very popular among developers because it makes program easy you can write the program very easily here you don't have to shift between tools to debug test or deploy everything will put in one one interface if you want to debug if you want to write if you want to test if you want to deploy your code so only one with one interface you can do all these things right and moreover IDs are very flexible and customizable you can customize according to your need and supports plugins for enabling developers to add more features on the F right so these are the features these are the reasons why we have to develop why we to use this uh ideas for example syntax highlighting see all these things uh in coming classes practically we will understand all these things okay and inent code completion how to compile how to test how to debug all these things we'll see see practically practically we'll see okay now see these are the ideas these are the uh different ideas uh we have in the market so if we have python python owns ideally this default you'll get default but we won't be working on this we'll be working on py Cham so we are ideally py Cham vs code spider Tony P Wing Eric jupyter so many uh idas we have in the market so we'll be installing pyam here so if you want to install pyam so pyam we have one website called uh jet brains. com so go to Jet brs.
com uh I'll show you I'll go to Google uh just type here type here py Cham Community Edition download okay so directly it goes to this the first website the first website jb. com and here you get two options one is professional okay uh this professional just one month uh you can try for only one month this is free for only 30 okay and for for learners for beginners uh just go for this py Cham Community Edition so come to py Cham Community Edition and click on this download button click on this download button when you click on this download button uh the file will be the the file will be installed on your mission so download the required package of or exhibit files official website from pyam okay right now there are two options here one is professional and one is pyam Community Edition so choose this pyam Community Edition and click on this download button click click on this download button uh you'll get this screen download the community package exib file onto your system and mention addition no need directly directly you can by default will be folder will be selected and click on this next button when you click on this next button uh now it will start the installation when you click on this install install button the software this pyam uh will be installed on your machion okay and last the screen will come click on this finish button click on this finish button after you installed pyam you can run it like any other programming or you install open the start menu and in the search box sock come here click on py charm here when you click on sech click on this py charm here when you click on py charm this screen will come uh this is called a welcome screen this is called welcome screen so when uh when SC comes click on this a new project okay to select this projects uh option projects option click on this new project click on this new project and you look at this screen here all the default is name python project okay by default everything will be default click on this create button when you click on this create button okay uh you'll get this screen you'll get this screen I'll show you so what I do I'll go to charm here see there is one project here so click on this right click and click on this new and select python file here for example for example uh what do I'll click on one file called test dop test dot pi and Pi is a extension of python for Java do Java for C do c and for C+ the extension is do CPP so same way for python the extension is pi so when you click on this enter button this will be open so this is our first uh screen you'll get okay for example I want to print something I want to print something for example I want to print hello world so what we here we use this function called what are functions everything we discuss in coming session now I'll write something called hello world h e l l o hello world right after writing this program there's one button called run button here so when you click on this run button uh you'll get output here allow world so this is a way to install Python and Pam yes so next next topic is what uh today's topic is again we'll start with the basics basics of Python program pring basics of see when you say basics of Python Programming it is not to python it can be C Java JavaScript you take any language in the world the concepts are same okay so first uh first what we do first we discuss about data what is data what is data second what is data type what is data type and third you must know what are the basic data types avable in Python what are the basic data types in p python so we learn these three concepts what is data what is data type and what are the basic data types in Python so we'll start with we'll start with uh data what is data data is any information any information for example for example take one students data example we'll take students data example for example role number role number is information about student okay for example role number is 100 name of the student name of the student for example take one Akil for example okay next uh we'll take marks how many marks this hakil got for example he got 900 marks in engineering uh next is average marks average marks he got for example 9050 grade which grade he he got for example he got a grade see this nothing but one data this is students data for example I want to know what is the type of 100 what is the type of 100 type of 100 100 the type of 100 generally generally we say it's 100 is what it's a number it's a number generally we say number but in computer science uh we say integer integer and in short we say in yes for example Akil what is the type of Akil uh type of Akil is a string aill string okay generally you say it is string so in short in short in Python we say Str Str same way what is the type of 950 type of uh sorry 9050 the type of 90. 5 is uh generally we say a number with a decimal point number with a decimal point and in computer science uh we say as it's a floating Point number this 9050 is called what a floating Point number and in short uh in short we say f l o a t float what is the type of a see only one characters see in CC C++ Java in C C++ or Java okay see for example there is only one character is called for example a see a is called car or Char where in other languages but same as in Python in Python if it is also Single Character uh we call it as string only is also string it is string it's not character there's no car data type in in Python whereas we have C in C++ Java we have car or CH but in Python if it's one character also it is string okay a is string B string combination of a b c also string C string combination of a b and c also called it's a string so there is no C dat type in Python we have string or or what we say we say is Str strr so grade A is also Str Str this aill also Str Str 100 is what int and what is 900 it's also in and what is 90.
5 it is a floating Point number and in computers there is one data there is one data called true or false there is one data called true or false either true or false okay and this information will stored in there is one data type called Boolean data type Boolean and in Python uh in short we say bull we say bu okay so these are the basic or we can say Python's Python's basic data types either we can say basic or we can say primitive data type primitive data types what are they for example int we have floating Point number float and there is one more data type that comes under number that is complex number uh we'll be won't discussing that much but uh in coming classes coming sessions we'll discuss about this complex numbers so these three this three comes under number number under number these are the three data types one is in one is float and one is complex number other than number we have Str strr and also we have bull bull data type so these are the data types okay so we understand what is data and what are the basic data types so what is data type what is the definition of typ what is the definition of python data type data type so the type of data is known as data type the type of data is known as data type example 100 the type of 100 is int the type of J is Str Str the type of of 10.