Looks like some sort of a function. Just define functions in Python. The keyword for defining functions is "def"; look at the docs for more specific details.

Reply via email to