September 2017
Intermediate to advanced
222 pages
5h 1m
English
Create a new virtual environment using python -m virtualenv or python -m venv. Even if you know you don’t need virtual environments for the project you’re working on, humor me and learn enough about them to create one for trying out things in this book. I resisted using them for a very long time, and now I always use them. Read Appendix 1, Virtual Environments if you’re having any difficulty.
Practice activating and deactivating your virtual environment a few times.
On Windows:
Install pytest in your new virtual environment. See Appendix 2, pip if you have any trouble. Even if you thought you already had pytest ...
Read now
Unlock full access