role for python