[Self-interest] Self implementation in Python