updated python template's syntex ,get competibility for python3