Maya scripts Examples:

animation snap shot - Pymel

next value of : 1

next value of : 3

next value of : 10