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.txtto specify the libraries you want to install, one library per line:emojiCreate a new virtual environment called
venv.python3 -m venv venvActivate the virtual environment.
source venv/bin/activateInstall the libraries listed in
requirements.txt.pip install -r requirements.txtCopy and run the example code.