In this article I will take you step by step through getting your python language set-up and ready for deployment or use.We shall be using jupyter notebook and visual studio code for this session.
First and foremost is getting you desired browser (edge,chrome,brave) ready ,whichever you prefer will work make sure you are connected to the internet since its still downloading and installing session.I will be using brave browser to guide you through.
step 1 Downloading Python and install it on your pc
open browser and search python on the search path ,click on the first option
then hover your mouse onto download and pick which operating system you are using .I will go with windows as a windows user ,if you are a mac user click macos,linux user chose linux respectively.
the page will lead you to python packages.Its advisable to not to use the current released since the version is not stable .So you have to pick the stable which is the python 3.14 version.pick the version that is compatible with your pc 64bit or 32bit ,this info you can accure in your pc setting then to about pc and you will see the needed bit.click and download .
after downloading and installing the python packages on your pc we can confrim by openning terminal or power shell to command prompt or press window key + r on your keyboard then type cmd to open command prompt (windows users).Type python --version and enter to see which version and whether python is installed.The check will show you which version you installes as below.
Step 2 downloading visual studio code
We need to downaload visual studio code and install it in your pc.likewise ,go to the bowser search visual studio code in the search bar.click on the second option.
then pick which operating system you are using if its windows pick windows ,mac use macos and linux user use linux respectively
download and install.afterwards open the application.
Step 3 setting up jupyter notebook extension in visual code studio
With your vs code ready ,go to extension (the last icon the left hand)
then type on the search bar jupyter notebook,choose the one published by microsoft and install the extension.
after downloading open we need to step up the notebook ,create a folder and open it under vs code ,then create a file with vs code ,then create a file in the folder named trial.py this shows that the file format is a python text file ,and since we are using jupyter notebook our file will be named trial.ipynb ,the .ipynb means interactive python notebook this is a file format for a notebook created using jupyter notebook .your page should have this look.
To create a notebook.Click on +code and you'll have a notebook to write your code.We will start with printing an output print('python basics')
after typing and ready to run .We have to select kernel ,this is the python version installed in our pc.
select python environments and select the version installed in your pc,after chosing and vs code will connect with your kernel and you'll be able to run your code and find output.To run a code in a cell press control + enter .
Now you are all set up to use python with jupyter notebook in vs code
Below I have attached my recent work with python and post it on github,still using the set-up that I have explained.This is the link to my github public repository on python basic https://github.com/stev-mwangi/python-basics.git




