Python
Basics
Python basics: the first program and how scripts run
Hello World, running a script, indentation and scopes, with primers on objects, os, pathlib and flake8.
Open
str
Strings in Python: the str type
Creating, formatting and encoding strings, f-strings and the methods of the str type.
Open
Classes
Classes in Python
Class bodies, instance and class variables, methods and the object lifecycle.
Open
Pydantic
Pydantic: data validation in Python
Models, fields and validators: install, the model basics and a second part.
Open
Virtual environments
virtualenv
virtualenv: isolation for Python projects
Create an environment, choose the interpreter, freeze requirements and install the wrapper.
Open
ve/virtualenv
virtualenv in practice: install, use, wrapper
Installing virtualenv, working inside an environment and managing several with virtualenvwrapper.
Open