Install Python On Ubuntu 22.04 / Linux and Write you first Python Program using VSCode | PyCharm

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
python a general purpose high level interpreted language with the easy syntax and dynamic semantics it is one of the most popular programming language and fastest growing language in the world in this video i will show you how you can install python on your linux operating system and also write your first python program so let's get started so to get started with python in ubuntu operating system you don't need to manually install the python since python is by default installed into your ubuntu operating system to check which version is installed so just open your terminal and just type python 3 hyphen iphone version so you can see the python 3.10.4 has been already installed into our system so now to write your first program using python just open vs code or you can just use the python as well so i will just go with vs code here and here on bottom so just go into this extension and you just need to source for python and just click on this first one and just click on install so once this python extension is installed so let me just go into the explorer here and let me just click on this open folder so inside this desktop let me create one folder let me call it demo or you can give any name and let me just click on ok so inside here i just want to create one file with dot pi extension so let me just type hello dot py and let me write something like print hello world and just type ctrl s to save this file and to run this file so we can just go at the top here so you can see run python file so just click on that so you can see this is showing the hello world output so similarly so we can also install the python ide as well to run the python program so let me just go into the browser and source for pyjam and just go to this first link from zdegrens.com and just click on download so we just want to download the community version so which is free and just click on download so this will download the pycharm so once the tar file is downloaded let me just go into the folder and let me just right click and just click on this open with archive manager so you can extract wherever i want so i just want to extract it inside the home so let me just click on extract so let me just close this one from here and let me just go inside home where i have just extracted the tar file so let me just go inside this python community and inside the bin and let me just right click and just click on open in terminal and just type dot slash pycharm dot assets and just click enter so this should restart the python so let me just click on do not import and just click on ok so you can see the python has been started so this is showing the welcome page here so to create the new project just click on new project and just keep everything default so you can just give the location of file and just click on create so you can see the base interpreter so it has automatically detected the python version just click on create and just click on ok so you can see the python project has been created so inside the local so it's indexing here so inside leave so you can see all the folders inside here and inside bin so everything is looking fine so inside this python project i just want to right click here and click on new just click choose the python file and just type hello world so this will create the new file with hello world dot pi extension so to print something or write something just type print hello and just type world and just choose the python interpreter 3.10 and if i just right click here so this is indexing here so let me wait for it to complete so now to run this program so let me just right click and just click on this run hello world so you can see the output here so this is how you install python or just configure your python onto your ide for vs code and python thank you so much for watching if you like my video don't forget to like share and subscribe to my channel i will see you in the next one [Music] you
Info
Channel: Code With Arjun
Views: 15,149
Rating: undefined out of 5
Keywords: code with arjun, codewitharjun, codewitharjun programming, programming codewitharjun, programming, coding, programming tutorials, install python on ubuntu, install python on linux, how to configure python on vscode linux, python on vscode, python on linux, python on ubuntu, python using pycharm, install pycharm on linux, hello world using python linux, hello world python, hello world python pycharm, python extension on vscode, python on ubuntu using vscode, python, pycharm, vscode
Id: 6uswHeYXIBo
Channel Id: undefined
Length: 5min 22sec (322 seconds)
Published: Wed Sep 21 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.