p16 in python