Technical requirements
In this chapter we will show different solutions to a common problem. To run the code, which is available in the Chapter02 folder of the Github repo at https://github.com/PacktPublishing/Asynchronous-Programming-in-Python, we recommend creating a new virtual environment inside the folder and then running each Python file to check its output. No external packages are required but this way you can isolate your execution from the common Python environment of your computer:
$ python3 -m venv .env
$ source .env/bin/activate