News

This post explains how to use classes in Python. Including: how to use static and private methods, constructors, and more!
In Python, a SyntaxError happens when the interpreter finds code that does not conform to the rules of the Python language. This means the code is structured in a way that Python cannot understand or ...
Physics and Python stuff. Most of the videos here are either adapted from class lectures or solving physics problems. I ...
Python dataclasses can make your Python classes less verbose and more powerful at the same time. Here's an introduction to using dataclasses in your Python programs.
This post explains what a Python module is and how to use it to drastically extend the capabiltiies of your code. Plus: how to make your own!
The pattern-matching syntax introduced in Python 3.10 allows for powerful new programming techniques for decision-making in apps.