Sampling of algorithms in Python.