A "fold" is a fundamental primitive in defining operations on data structures;
it's particularly important in functional languages where recursion is the
default tool to express repetition. In this article I'll present how left and
right folds work and ho... (more…)
Read more »
What is a genetic algorithm? A genetic algorithm is a method to solve a problem inspired i... (more…)
Read more »
Python’s import system is powerful, but also quite complicated. Until the
release of Python 3.3, there was no comprehensive explanation of the expected
import semantics, and even following the release of 3.3, the details of how
sys.path is initialised are... (more…)
Read more »
Thanks to a two-year grant commitment from Bloomberg, our second 2021 Visionary Sponsor and a long term committed supporter of the Python ec... (more…)
Read more »
In this blog post, we share 10 security pitfalls for Python developers that we encountered in real-world projects. (more…)
Read more »