thrid way for python