Update samplepy.py