Transferring pattern to python

This sounds familiar? Ah yes, from late February: (is it different now?)