p46 in python