Simple and enough explanation for what you need to do in Python. You can read more here.