added function to execute py with python2/3