In order to complete the the lessons using Python you need to install the following:
Prerequisite | Lessons | Description |
---|---|---|
Node.js | All | The Node.js runtime including the node package manager NPM. Install an LTS version. |
Python | All | Python releases. Install 3.9 version. |
VSCode | All | A great cross platform code editor. |
VSCode Azure Functions extension | All | Extension for VSCode to easily develop and manage Azure Functions. |
Azure Functions Core Tools | All | Azure Functions runtime and CLI for local development. |
RESTClient for VSCode or Postman | All | An extension or application to make HTTP requests. |
Virtual Environment | All | Virtual environment for Python. After installing it, run python -m venv venv in your terminal. After running this you will see a pop up in VSCode: We noticed a new virtual environment has been created. Do you want to select it for the workspace folder? Click Yes and your venv is ready to use. |
Azure CLI | Deployment | Command line interface used to manage Azure resources. Can be run on your local dev environment, in a deployment pipeline or in the Azure Cloud Shell. |
📝 Tip - Azure Functions only supports the following Python versions.
We strongly suggest you create a new folder (local git repository) for each lesson and use this Azure Functions University repository for reference only (for when you're stuck).
-
Create a new folder to work in:
C:\dev\mkdir azfuncuni C:\dev\cd .\azfuncuni\
-
Turn this into a git repository:
C:\dev\azfuncuni\git init
-
Add subfolders for the source code and test files:
C:\dev\azfuncuni\mkdir src C:\dev\azfuncuni\mkdir tst
You should be good to go now!
We love to hear from you! Was this lesson useful to you? Is anything missing? Let us know in a Feedback discussion post here on GitHub.