python classes script