#2 Python Tutorial for Beginners | Python Installation | PyCharm

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
welcome back aliens my name is a ready and in this video we'll talk about the python installation the thing is we have talked about a language which is very powerful but then where you will write your code of course we can simply open your uh notepad and we can write the code which we want right so example I can simply go back here and I can say okay what type of code I want to write so it can be anything it can be let's say 2 + 3 now when you say you want to write a code it can be a calculation a computation so basically a normal calculation like adding two numbers or deciding in which stock to invest or maybe deciding who should be the next CEO so basically the idea is if you want to write a code to design a software which can do some activities we have to write a code but where if you write the code in the notepad of course you're not getting the output where do you will get the output for this uh this is tricky right and that's why in your machine you need a python interpreter so basically we have to install some software and in this machine I don't have it how do I verify it's very simple uh you can open your command prompt so if you're using Windows you can use command prompt to check it or if you're using Mac or Linux uh you can open the terminal so I'm here on command prompt and here let me see if I have python now basically the way you can check that is by saying python version and if you get this type of error which which says python was not found that means in this machine I don't have python okay with Python 3 you might also check if do you have Python 3 installed and you can see nothing is there so even if you have python installed sometime it will not work with the python command it might work for the Python 3 command so do check both the versions and in this machine I don't have any so how do you get it so the first thing we need is python interpreter and okay let's say we got python interpreter and then you can write a code there the thing is in The Interpreter it provides you an option of writing a code one line at a time so of course of course you can add two numbers but what if you want to build a big big project now it can be a scientific project or a AI project now that's what is booming nowadays so if you want to build a AI project or a web application or a desktop application where you will do it for that you need a software where you can write the code test your code run your code debug your code and also deploy your code to the cloud very well do it now that's why we have to use something called an i d which stands for integrated development environment now for python we have lot of options now one is very famous which is your py charm now this is from jet brains again in this video I will show you how to install python interpreter and the py charm so let's start with The Interpreter so what you will do is uh in fact in the updated version of Windows when you say python enter it will open the Microsoft store but let's say if you don't have this configur that's fine uh what you can do is you can you can just go to Google and search for python download so you can say this is the option you will get so of course the first website says python you can download it from here now in the upcoming videos you might see a different version of python install and that's completely fine because in the version difference you will not find lot of changes so even those things those code will work here okay so you can go for python 3.12 which is the latest version I feel so if I click on download so you can see we got download python 3.12 so you can download this version uh 13 is into preas so don't use 13 as at this point we got 12 which is 13 3.12 so we can click here and say download okay so you can see it is downloading and downloading complete I feel yeah that's done now depend upon which OS you have Windows Linux or Mac depend upon that you can choose from here so you can say we have different options here and uh yeah so that's the thing so let me click on this and install so basically I don't have this installed so I will just click here and now this will install the software okay so you can see we have an option here which is install now or customize I will go for simple installation but before doing that I also want to say add python.exe to the path basically even if you have installed maybe whenever you open a different folder python may not be available there so if you do this add a python.exe to your path you don't have to manually search for the installation so you can click on this install now and it will take some some time now if you skip that step of add to the path then you have to manually set the path but anyway when you do the add to path you don't have to do the next the other other steps so by the time it is getting installed what we can do is we can also get the py charm downloads done so I will search for pycharm now pycharm is from jetbrains which is a very famous company for the IDS and software tools so it helps developers now basically you can also use vs code for python you can also use anaconda or idla which is the interpreter and yeah many more so I will just click on this I will say download py charm the thing is when you download or when you get to the py charm it's not actually free okay now that's a Twist right so we have two versions there one is a paid version one is a free version so I would encourage you to go for the free version but yes once you become a professional once you working for a company then it makes sense to use uh the paid version so this is the website and as I mentioned this is developed by jet brains which is the website here it's also the company and we also have a community version so if you want the community version you can scroll down and you can see we have two different versions professional and Community I will click on the community version if you go for the professional version you will get trial for one month so you decide if you want to use it or not but I would encourage you to use the community version so this is getting downloaded let me go back to my python setup and looks like python setup is completed let me click on close so setup is complete how do I verify again we have to go to command prompt now one thing to remember even if you have installed Python and if you directly do this it may not work so you have to reopen your command prompt so now if I say CMD and let me try now python version and you can see we got python installed this time we're getting a version number we're not getting that error which was getting earlier so yeah python is installed now how do I test it it's very simple you simply say python it will open The Interpreter now this is where you can write a code of course doesn't look good right maybe you need a software where you will find in fact if you have learned some other languages you can write the code you can see the project you can run the code we'll see that in py charm but here you can see we got The Interpreter and here I can simply add those two numbers and it it is working right so you can yeah you can do calculations computations whatever you can do in this prompt apart from this if you want to open python you can also search for python so you can see it will also give you an app so you can also use this one this is the ideally from python in fact ideally looks like something like this so this is the python interpreter uh you can also use ideally yeah I know White theme lot of people don't like it but for YouTube videos you know it makes sense to have a light theme uh it looks good it also encourages you to learn more but anyway that's your choice if you want to use a white or black or dark especially for me I prefer to use dark theme when I'm coding and for videos I prefer white themes anyway that's a different debate uh so I can just use this I can also say 2+ 3 here I'm not sure if the font is visible but that's not important if I say 2+ 3 enter okay we got syntax error again I will say 2.3 I think I've entered something weird okay so you can see we got five there so yeah you can do this here you can do that here or in the command prom which we have opened earlier but what about the pycharm so we got the pycharm installation done so you can see we got py Cham download complete I will click on that taking some time and if you can see yes okay now setup is very simple here you just have to say next next it will detect the python as well the setup I'll click on next install again we'll take some time it looks like a bulky software it is doing a lot of extraction but that's the thing with IDs you know they are bulky otherwise you can also use vs code if you want that's your personal choice everything which we are doing in py charm or on the IDE it will also work on vs code okay setup complete and I can also say run here from here or I can simply click on finish let me open py charm taking some time again okay I don't want to import this settings and import click on okay so basically I'm using py charm on this machine for the first time so you will get some extra prompts okay so what you can do here is you can create a project you can name any project you can name anything you want I can click on Create and voila you got your project here so this is how the py charm looks like and that's your python code again don't get confused with the code here we'll understand this one step by step but this is this is your python code here uh you can even run this if you want but it will take some time anyway we are going to see the py charm how to use it later in the course so yeah that's it from this video where we have done the setup for the python computer and py charm so if you if you are enjoying this series make sure that you hit that subscribe button and also hit the Bell icon because that's how you will know when I upload the other videos on the [Music] platform [Music]
Info
Channel: Telusko
Views: 399,357
Rating: undefined out of 5
Keywords: telusko, navin, reddy, tutorial, Java, Blockchain
Id: CScxy0294SE
Channel Id: undefined
Length: 9min 32sec (572 seconds)
Published: Thu Nov 23 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.