News

Everything in Python is an object, or so the saying goes. If you want to create your own custom objects, with their own properties and methods, you use Python’s class object to make that happen.
This post explains how to use classes in Python. Including: how to use static and private methods, constructors, and more!
Python classes can make your code more complicated than necessary. So when should you use classes, and when should you use standard functions instead?
Physics and Python stuff. Most of the videos here are either adapted from class lectures or solving physics problems. I ...
Python’s new template strings, or t-strings, give you a much more powerful way to format data than the old-fashioned f-strings.
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!