python training scripts