Press A to run without screen refresh (atomically) Press S to run with screen refreshing (non atomically) Note the dramatic time difference, with atomicity being around 10% of the speed (10x slower). The script is the same: def myMoveSteps(n): if (n>1): move (1) steps myMoveSteps(n-1)