1/5
## Python in Updraft: Recap We've just finished our Python crash course. We've learned how to set up our VS Code environment, manage Python versions, and set up a virtual environment using UV. First, we installed Python into our Linux-like environments: ```bash python3.11 --version ``` We can manage our Python versions using UV: ```bash uv run python --version ``` To change to a different version of Python, we can use: ```bash uv python pin 3.12 ``` We can add packages to our virtual environment using UV: ```bash uv add Titanoboa ``` We can activate our virtual environment by running: ```bash uv venv ``` Then, we can activate the environment using: ```bash source .venv/bin/activate ``` Now, we can access the Python interpreter without having to use `python3.11` or `python3.11 --version`. We can simply use `python` or `python3`: ```bash python --version ``` ```bash python3 --version ``` To deactivate the virtual environment, we can run: ```bash deactivate ``` We can also check the path of our Python interpreter using: ```bash which python ``` Congratulations on completing this course! Now, you're ready to start developing smart contracts using Python in Updraft.
A comprehensive recap of Python in Updraft. This lesson covers the concepts of virtual environments, setting up Python, using pip and UV to manage Python environments, and installing packages into your project.
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