tubetranscript.io

Jenny's Lectures CS IT · Transcript · · Updated

Download and Install Python (3.10.6) and Pycharm | Python Tutorials for Beginners #lec3 – Transcript

Video by Jenny's Lectures CS IT · Watch the original on YouTube

Summary

AI-generated from the transcript. Verify details against the source video.

  • Python 3.10.6 is downloaded from python.org and installed with the base interpreter and pip for Windows.
  • PyCharm community version is downloaded from jetbrains.com to serve as the integrated development environment.
  • A new file named first.py prints hello world using the print function with either single or double quotes.
Video thumbnail: Download and Install Python (3.10.6) and Pycharm | Python Tutorials for Beginners #lec3
Source video on YouTube · Transcript generated automatically and may contain errors.

Use this video with Pro

Reading, copying and transcript downloads are free. Create saved AI results for this video with a signed-in Pro account ($9/month).

Transcript

Search ignores accents. All transcript text stays visible.

so in the series of learning python programming language in previous video we have talked about history of python language now in this video we will install actually python as well as an ide for writing programs in python language and then we write a simple program just to print hello world that's we usually do whenever we you learn any programming language first program you write is print hello world so this these three

things we'll do in this video right python is a interpreted language so that is you can say basically we will you know install the base interpreter for python right so now let's see how to install these things one by one step by step okay first we will search like just write down download python okay

and better to open the website the website of this python dot or python.org right and here in the download section you will find download python 3.10.6 the latest version is 3.10.6 so we are going to download this version for windows okay so just click on download and that's it

it will take only few seconds and see it's been downloaded let's just click on this and now how to install this you can click on install now two options are there or customize installation in customize you can choose your location and some features right by default this would be your location if you click on install now okay it will include ideally pip documentation and all we'll see what is

ideally what is pip basically to install python packages and all you'll see one by one these videos but for now just add this uh just check this also this textbook checkbox add python 3.10 to path means automatically it will be added to path and directly from cmd command prompt you can run the center better you can run the commands on python you don't need to add any path right so i'll do customized

installation okay see in this what are the features documentation pip it will install you know pip which will download and install python packages later we will install some packages also in python so using pip we can do that thing okay now let's let's click on next and install for all users right and you just keep everything as it is

this is the location install location c program files and python 3.10 okay and click on install that's it and then yes now it has been started and it will take few seconds to install this uh language to this this interpreter for this language here we are downloading the base interpreter for python right now after that we will install ide

pycharm basically id is one integrated development environment which is basically an application or you can see it's a software to build applications it is having text editor also code editor okay with there you can write down code uh with having some syntax like syntax highlighting some extra features it is having syntax highlighting autocompletion if there is an there is any error then underline it will show red underline under that line in which

you are having error same as we have installed and we have worked right now also we are currently working visual studio code uh when we were we run c plus plus program so for this that id is an id also having compiler debugger right many things in simple and in one software we are having many things so that is why we use id rather than writing our programs in notepad we generally prefer ids many ids

are there so here we use pycharm so after this we will install pycharm okay now let's just uh click on this end download pi cha okay it is by jetbrains so you see the first website only jetbrains.com right it is by jetbrain so just

click on that thing and you will find two version here professional as well as community but better to download community version because it would be paid it would be free for it it is professional is a free 30 days trial only so we will download community version okay it has been started now as you can see our setup is also going on and we have

so now python 3.10.6 64-bit setup is successful we will close this see as you can see also there are various releases previous release 3.10 3.9 3.8 whatever version you want to download you can download right but better to download the latest version that would be fine so as you can see these are the versions you can download other than this version 3.9.6 you can download any other version also it's up to you

right but better to download three point x version only know two point x because they have added the support for two point x version right now how to check that we have successfully downloaded this python so just you can just uh click on this you can uh open your command prompt cmd type cmd and this is your command prompt right now here i will write python

version hyphen hyphen version so see it is showing me the version 3.10.6 yes it has successfully downloaded and installed sorry why not download it install this python this interpreter for us right so if you enter write python and enter then our this interpreter for us has been started here you can you can use this thing for calculate as a calculator or you can write down your

commands here you can do programming also here line by line so see if i write 3 plus 2 it will show me 5 so this can also be used as a calculator so line by line because interpreter would do what integrate line by line not the complete code so only one line you will write and it will show you the result of that line so simply we will exit from here simply type exit and press enter

and one more thing we have also included we have also installed pip that was used to install some packages and all if you want to check that thing also you can just write down pip here and just enter so see it will show you something like this the result after uh clicking after writing pip and clicking just enter so this would be the case so means uh tip has also been installed successfully you don't need to do anything loud now

they just close it now we will install our python the ide so let's click on this the community version that we have downloaded already and it will show this screen just click on yes and next and this is the destination folder for our this installation then click on next simply click on next or you can write

down create if you want to create desktop shortcut you can just click on this open folder as project this also you can click if you want to add bin folder to the path update path variable so i don't want to include this thing you just click on next now

right and simply click on install that's it it will take some time right so it's been done now you can just click on the run python community edition and just click on finish so now it will launch and just click on don't import settings and okay right now it will launch your python community

edition 2022 now what you need to do obviously the first time so we will create a new project so click on new project okay now see this type of thing would be there on your screen now what you have to do you can just this is your location see my location is this thing and python project so if you want to change the name of your project you can just i'm writing first

project that's it now new environment it is showing that virtual environment but we don't need to this we don't need to do this thing we need to do what previously configured interpreter for this it was so now it is showing no interpreter you have to add interpreter because we have already installed python interpreter

right so add add local interpreter and i have which interpreter it's python 3.xc location c user and base interpreter is program files python 3.10 3010 and python dot exe right this is my interpreter okay now just click on this so if you are you know if in your laptop it is not showing

anything so you can just click on these three dots and you can search you can search in which folder you have installed in c folder in user or python in which folder you have installed that python previously we have installed that python you just go to that folder click go to that folder and click on python dot exe and then select it right in my uh pc i have already this thing python.exe so just click on ok

so it is creating uh that environment so see the interpreter is python 3.x sorry 3.10 okay now see create a main dot py welcome script it will create a main dot py the extension for python uh program says dot p i just say for c we have dot c for c plus plus we have dot cpp so same for python we have a dot py so it will create a welcome script for s for us right if you check this if you uncheck this it will not create anything but i'm going

to check this okay now let's just create so it is loading our first project c main dot p y so it is a sample python script okay you can say this if you want to check out this thing you can check out otherwise no it's okay you can what you can do you can just remove all these things and we can do

our simple like we have now installed our ide so if you want to print hello world in python how you will print it's very simple no need to write down any header file main function and all one line you need to write down okay now if you want to write down that thing in main dot py you can do that thing or otherwise in first project you can you can create you can create a new file right click on first project new the

name of our project is first project new and then file i'm creating new file that is first dot py here i'll write my code simply you need to write print and hello world that's it no semicolon nothing else nothing else so you can simply

run this here we have a you know this kind of thing hi pycharm so it is okay it is actually running this main dot p y this file main dot p y right we no need to run this file we we need to write we need to run our first dot py this file so now let's uh close that file select this first dot py and sorry

here here not main you have to select your current file okay note main here if there is this kind of thing you just select current file and run this now current file is first dot py so it is printing hello world on my screen simple program so i think with this only you can identify how much simpler

is to code in this programming language python programming language then c and c plus plus and java and all to print a simple line hello world you just need to write down print and that thing because it is a string or the string you can write down in single quote also here no double quote but actually i am from that c and c plus background so i put string in double quotes and a single character in single code but in python you can write down rather than these

Frequently asked questions

Python version 3.10.6 is downloaded as the latest version for Windows.

You can open the command prompt and type python version hyphen hyphen version to see the installed version.

It is better to download the community version because the professional version is only a free 30-day trial.