PRACTICE CODE SNIPPETS

PRACTICE CODE SNIPPETS

Search This Blog

Monday, August 8, 2022

python visual studio code setup

I'm going to show you how you can set up Python development environment on your Visual Studio code editor. SO,to go step by step first of all to make you underatsnd how you can install Python and you can install Visual Studio code and then I'm going to show you how you can set up Python on Visual Studio code so if you already have Visual Studio code or Python you can skip these installations steps and directly go to the you know integration step so for installing Python you just need to search for Python and the first link which will appear here will be from python or o click on that link and scroll down a little here you can see the download section and the version I want to download here is three point 10 which is the latest version so I'm going to click on that and we are going to go to on the download page so inside the download page and scroll down a little and here we can see different file formats for installing python on our Windows operating system so to choose is this one which is the executable installer which is really easy to install so just choose the version windows x86 64 is equal to be install right and now once this executable file is downloaded we are going to just install it like a normal executable file so now this executable file is downloaded so click on this executable file,just minimize the browser so now the Python installation wizard has been started and you can see this is the default location where Python will be installed and in order to add python part to our environment variable you just need to check this option which says add python 3.10 parts now you would like to install python in a different part because this is a little bit confusing part this will be installed in Python 3.10 right so I would just want to change the location so select the customize installation for me but most of the people prefers default location and that's okay for them also just leave everything as default and click Next here and this is we wanted to change so we just want to install Python in my C directory so we will just remove everything from here and then to install this Python in C directory and then Python I want to make this directory Python so we want to make this directory Python and inside this directory I want to install the Python right so C and I'm going to just create a new directory here or new folder here with the name Python and then we will press Enter so this directory is created and then inside my python directory this directory will be created right so we will just click install after stating my installation path and then just say yes is going to start the installation for python 3.10 this message which say setup was successful.. That means python is installed successfully on my system so just click close and i'm going to go to my Start menu and here just click on all apps and in all apps and can see this Python IDE is installed and then python 3.10 module docks are installed and then python 3.1- manual is installed and you can see python 3.6 command line is also installed right so whatwe will do just click on this option which is python 3.1- 64 bit and you can see python you know terminal is started right so I can justwrite print("Hello world") going to print hello world by right clicking and running the file in terminal print("Hello world") PS C:\Users\DELL\Desktop\python> & C:/Users/DELL/AppData/Local/Programs/Python/Python310/python.exe c:/Users/DELL/Desktop/python/demoprint.py Hello world

No comments:

Post a Comment

Practice and let me know for nw code snippets