Setting Up Your Environment and Using This Book’s Companion Docker Image
First, let’s set up your machine so you are able to run Python. Here are a few different approaches you can take:
- ✪ Run Python using this book’s companion Docker image (recommended):[3]
-
Install Docker.[4]
-
Execute docker run --pull=always --interactive --tty --rm ghcr.io/davidmuller/intuitive-python-book/intuitive-python-book:latest /bin/bash
-
You are now logged into an ephemeral container with an appropriate version of Python and all this book’s source code downloaded into the current working directory.
-
If you are reading a paper version of this book or using a digital reader that makes copy/pasting the preceding docker run command difficult, visit the homepage of this book’s ...
-
Get Intuitive Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.