Exercises: Installing and using libraries
In these exercises you will install and try out various Python libraries. For each example:
Create a new folder for your project.
Create a file in this folder called
requirements.txt
to specify the libraries you want to install, one library per line:emoji
Create a new virtual environment called
venv
.python3 -m venv venv
Activate the virtual environment.
source venv/bin/activate
Install the libraries listed in
requirements.txt
.pip install -r requirements.txt
Copy and run the example code.