Python tips, code snippets, core principles and common pitfalls. Clear, practical and to the point.
SOLID Principles – If you are a professional developer, there’s no way around these rules for object-oriented software design.
Wonder what the f**k pkg-resources==0.0.0 is? This is caused by an error of the virtualenv library. Learn how to fix it.
The Decorator Principle adds flexibility to customize functions in Python by adding extra behavior. It's implemented using callables and the '@' syntax.
Learn how bubble sort works and implement it in Python. Optimize the algorithm and visualize the sorting process with matplotlib
Learn how to create and visualize the k-means algorithm - a very basic clustering algorithm that is often taugth in introductory data science classes
Explore the versatility of Python dictionaries, from storing key-value pairs to looping, sorting, and merging. Unlock the full potential of Python dictionaries!
The Marching Cubes Algorithm is a meshing algorithm in the field of computer graphics. It is used to extract a polygonal mesh out of an isosurface
The midpoint line algorithm is a drawing algorithm in the field of computer graphics. It is used to determine how lines are translated into pixels.
Unveil Python's easter eggs: Zen, Uncle Barry, no braces, antigravity, hash tricks, and Monty Python references. Enjoy the humor!
Most common programming languages feature the switch-case statement, while Python doesn't. Learn about structural pattern matching and alternatives
Learn about different underscore types in Python such as the "dunder" and what conventions are in place as indications
Concurrency saves time by using multiple CPU cores. Learn about multithreading and multiprocessing in Python for efficient computing
Python uses dynamic typing, which is sometimes a pain. You can't specify explicit types for variables - but you can utilize typing nevertheless