This is a tutorial that I wish someone gave to me when I first learned Python.
Python is (relatively) easy and fun to learn, but there is a gap between “knowing how to write Python code” and “knowing the tools and good practices when writing Python code”. This tutorial will try to bridge this gap. It’s intended for beginners who know Python, but who are not sure how to write a Python project from scratch.
In this tutorial you will learn:
virtualenv
, pyenv
, pipenv
, and pipx
cookiecutter
, how to structure your Python project, and how to easily deploy it with Dockerblack
)IPython
instead of Python REPLpytest
Sphinx
To follow all parts of the tutorial you need to have: VS Code, Docker, and a modern version of Python (at least 3.4, preferably 3.6 or newer) installed on your computer.