samples in python