July 2019
Beginner to intermediate
740 pages
16h 52m
English
To create our environment for this book, we will use the venv module from the standard library. Note that we must provide a name for our environment:
C:\...> python -m venv book_env
Now, we have a folder for our virtual environment named book_env inside the repository folder that we cloned/downloaded earlier. In order to use the environment, we need to activate it:
C:\...> %cd%\book_env\Scripts\activate.bat
Note that, after we activate the virtual environment, we can see (book_env) in front of our prompt on the command line; this lets us know we are in the environment:
(book_env) C:\...>
When we ...
Read now
Unlock full access