sample python codes