<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Stev-mwangi</title>
    <description>The latest articles on DEV Community by Stev-mwangi (@stev-mwangi).</description>
    <link>https://dev.to/stev-mwangi</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3977500%2F63276e8a-ae6d-4ca9-821e-dc4b5f400384.jpeg</url>
      <title>DEV Community: Stev-mwangi</title>
      <link>https://dev.to/stev-mwangi</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stev-mwangi"/>
    <language>en</language>
    <item>
      <title>Python Language Set-up using jupyter notebook in visual studio code.</title>
      <dc:creator>Stev-mwangi</dc:creator>
      <pubDate>Sun, 06 Dec 2026 17:18:53 +0000</pubDate>
      <link>https://dev.to/stev-mwangi/python-language-set-up-using-jupyter-notebook-in-visual-studio-code-5cbk</link>
      <guid>https://dev.to/stev-mwangi/python-language-set-up-using-jupyter-notebook-in-visual-studio-code-5cbk</guid>
      <description>&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;step 1 Downloading Python and install it on your pc&lt;/strong&gt;&lt;br&gt;
open browser and search python on the search path ,click on the first option&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F83j2tf3gcnfnhyojixp6.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F83j2tf3gcnfnhyojixp6.JPG" alt=" " width="799" height="299"&gt;&lt;/a&gt;&lt;br&gt;
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.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvmum8rcy34da0h7ymszg.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fvmum8rcy34da0h7ymszg.JPG" alt=" " width="800" height="347"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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 .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fis6xx80fz81c1l83jq5s.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fis6xx80fz81c1l83jq5s.JPG" alt=" " width="800" height="377"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F39oo0xs4v530llvkb79a.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F39oo0xs4v530llvkb79a.JPG" alt=" " width="493" height="214"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 2 downloading visual studio code&lt;/strong&gt;&lt;br&gt;
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.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6gpvvaqq7s6j4h7xdljp.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6gpvvaqq7s6j4h7xdljp.JPG" alt=" " width="800" height="344"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;then pick which operating system you are using if its windows pick windows ,mac use macos and linux user use linux respectively&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdtutqmfsa1ggr1juo410.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdtutqmfsa1ggr1juo410.JPG" alt=" " width="799" height="386"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;download and install.afterwards open the application.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 3 setting up jupyter notebook extension in visual code studio&lt;/strong&gt;&lt;br&gt;
With your vs code ready ,go to extension (the last icon the left hand)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F18geujrzs6hmqg6cy3zo.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F18geujrzs6hmqg6cy3zo.JPG" alt=" " width="799" height="397"&gt;&lt;/a&gt;&lt;br&gt;
then type on the search bar jupyter notebook,choose the one published by microsoft and install the extension.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7yx2itbk6jcivnlkwqx8.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7yx2itbk6jcivnlkwqx8.JPG" alt=" " width="800" height="364"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff6ebtoj2nsgfxn3bu6jh.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ff6ebtoj2nsgfxn3bu6jh.JPG" alt=" " width="800" height="375"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;To create a notebook.Click on +code and you'll have a notebook to write your code.We will start with printing an output &lt;code&gt;print('python basics')&lt;/code&gt;&lt;br&gt;
after typing and ready to run .We have to select kernel ,this is the python version installed in our pc.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnn506wq0tf9ijz65vwns.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fnn506wq0tf9ijz65vwns.JPG" alt=" " width="798" height="211"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;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 .&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpmsdhxyorge9c41osrrs.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fpmsdhxyorge9c41osrrs.JPG" alt=" " width="800" height="179"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now you are all set up to use python with jupyter notebook in vs code&lt;/p&gt;

&lt;p&gt;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 &lt;a href="https://github.com/stev-mwangi/python-basics.git" rel="noopener noreferrer"&gt;https://github.com/stev-mwangi/python-basics.git&lt;/a&gt;&lt;/p&gt;

</description>
      <category>python</category>
      <category>jupyter</category>
      <category>vscode</category>
      <category>github</category>
    </item>
  </channel>
</rss>
