Little python function.