1/5
## Jupyter and Python VS Code Extensions We can create an environment very similar to a Google Colab environment by creating a file in VS Code called `cells.ipynb`. To run the cells in this notebook, we need to install two extensions: 1. **Jupyter Notebook**: This extension provides support for Jupyter notebooks. ```bash jupyter ``` 2. **Python**: This extension provides language support for Python and helpful tools, including syntax highlighting and formatting. ```bash python ``` After we install these extensions, we need to select a kernel. We can do this by clicking the three dots in the top right corner of the VS Code window and selecting "Extensions". Alternatively, we can click the "Extensions" button on the left side of the window. We can then select the desired Python environment. We'll choose `Python 3.11.9` in this example. Now we can run the cells in our Jupyter notebook by typing `shift enter`. We'll see that the output of the cells will appear below the cell itself. We can also run basic Python commands in a Jupyter notebook in VS Code. For example, we can create a variable called `my_var` and set it equal to 8. We can then run the cell to assign the value to the variable. ```python my_var = 8 ``` Then, we can print the value of the variable `my_var`. ```python print(my_var) ``` We can see that the output of this cell will be the number 8.
A beginner's guide to setting up Jupyter Notebook within VS Code. The lesson covers installing the necessary extensions, selecting a kernel, and performing basic Python operations within the notebook environment.
Previous lesson
Previous
Next lesson
Next
Give us feedback
Course Overview
About the course
Python basics
Introduction to Web3.py
Introduction to Titanoboa
Introduction to Moccasin
How to create an ERC-20
How to test Python code and Vyper smart contract
How to deploy Vyper smart contracts on ZKsync using Moccasin
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
On-chain Data Analyst
$59,000 - $139,000 (avg. salary)
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on January 14, 2025
Duration: 2h 20min
Duration: 1h 51min
Duration: 58min
Duration: 2h 23min
Duration: 53min
Duration: 2h 24min
Duration: 28min
Duration: 1h 54min
Duration: 11min
Course Overview
About the course
Python basics
Introduction to Web3.py
Introduction to Titanoboa
Introduction to Moccasin
How to create an ERC-20
How to test Python code and Vyper smart contract
How to deploy Vyper smart contracts on ZKsync using Moccasin
Smart Contract Auditor
$100,000 - $200,000 (avg. salary)
On-chain Data Analyst
$59,000 - $139,000 (avg. salary)
DeFi Developer
$75,000 - $200,000 (avg. salary)
Smart Contract Engineer
$100,000 - $150,000 (avg. salary)
Web3 developer
$60,000 - $150,000 (avg. salary)
Web3 Developer Relations
$85,000 - $125,000 (avg. salary)
Last updated on January 14, 2025
Testimonials
Read what our students have to say about this course.
Chainlink
Chainlink
Gustavo Gonzalez
Solutions Engineer at OpenZeppelin
Francesco Andreoli
Lead Devrel at Metamask
Albert Hu
DeForm Founding Engineer
Radek
Senior Developer Advocate at Ceramic
Boidushya
WalletConnect
Idris
Developer Relations Engineer at Axelar