Curious, how would look that in Python?