Update snspy.py