python27 code